GithubHelp home page GithubHelp logo

samuellb / fribid Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 5.0 1.63 MB

FriBID stable repo

Home Page: https://fribid.se/

License: Other

C 76.98% C++ 18.84% SystemVerilog 0.16% Shell 1.64% JavaScript 2.39%

fribid's People

Contributors

cybjit avatar hno avatar jeltz avatar josla972 avatar samuellb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fribid's Issues

Swedbank store certificate problem

I get an error message complaining about hostname mismatch. file = (null) and request = internet.swedbank.se . Even after fixing the free-call (see pull request), origin/file is still (null). Hardcoding origin = "internet.swedbank.se" fixes the problem for me, but that is no long term solution. Tell me if you need debug help if you do not have swedbank or the same issue.

Any chance of getting it working 2016

Have linux on all machines and my bank now forces me to use bankid.

Having been windows free for many years it irks me to have to go back to it again.

Maybe I should ditch my f***ing bank instead?

Didn't build... because..

Couldn't get it to build until I noticed in /doc/Makefile..

Test scripts
install -d $(DOCDIR)/fribid
install -d $(DOCDIR)/fribid/examples
...

So changed to..

Test scripts
install -d $(DESTDIR)$(DOCDIR)/fribid
install -d $(DESTDIR)$(DOCDIR)/fribid/examples
...

And got it working..

Need to implement new BankID protocol

FriBID currently implements an old version of BankID from around 2009. A new version of BISP (the proprietary counterpart of FriBID) which was released during the spring 2014 implements a new network protocol, and the old version is being phased out.

If FriBID does not implement the new protocol soon it will likely become useless sometime during 2015 (some services are already beginning to not work with FriBID). see the red items on this list:
http://wiki.fribid.se/sidor/Banker_och_tj%C3%A4nster#Tj.C3.A4nster

I've begun reverse engineering the new protocol, but I expect it will probably take a few months at least. Here's my progress so far:
http://wiki.fribid.se/sidor/BankID-Cava

Stopped working

Using Firefox 24.2 and the stable release of fribid. Built from source for Gentoo Linux x86_64.

I can't seem to get it to work on sites that worked before (e.g. skatteverket). I do not have more information than this right now, but I'll gladly help you with debugging.

Incorrect conversion from TokenError to BankIDError

bankid_storeCertificates() uses the return value of backend_storeCertificates(), of type TokenError, as its own return value (should be of the type BankIDError). This "corrupt" error code is then exposed to the Javascript interface.

Another take on FriBid

Hi!
With the wide acceptance of systems like Mobile BankID the motives for desktop solutions have diminished. However, these systems are with few exceptions both proprietary and secret effectively forcing each "trust network" or issuer deploying their own mobile app. To cope with this I have begun plotting with a universal client with the (somewhat boring) name MobileID. In case any of you are interested in such a project, drop me a line at [email protected].

A write-up is available here: https://cyberphone.github.io/doc/mobile-id/

MobileID is based on IETF standards in progress including: https://tools.ietf.org/html/draft-erdtman-jose-cleartext-jws-01

Ciao,
Anders

Linux phones are coming, what would it take to implement Mobilt BankID?

As Purism hopefully soon will be able to complete their Librem 5 phone (https://puri.sm/products/librem-5/) we will now have a phone that runs Linux which makes it possible to run both computer and phone entirely Windows/Andorid/iOS free. In Sweden we'll still have a huge problem with BankID (and Swish but that is for another project) since we cannot run it on either our computer (without emulating Android) or phone anymore. We could really use a free implementation of Mobilt BankID and this seem like the best place to start asking.

I'm a developer but better on JavaScript/Go and Python than C/C++, good at understanding HTTP/TCP and how to use TLS/certificates but not the best on reverse engineering or cryptography (I suppose there are quite a lot of that?) in general. I would be willing to try to help out but I could not solve all on my own and I'm not sure where to start really either.

Any hints/documentation on how to get started on implementing the Mobilt BankID protocol?
What would be needed to record and decrypt the messages that is sent from e.g. the Android app?
Would it be extremely difficult?
Any others interested in this?

Missing module?

[kristoffer@localhost fribid (master)]$ ./configure

Prefix:            /usr/local
Plugin path:       /usr/lib64/mozilla/plugins

PKCS#11 smartcard support enabled
PKCS#11 module:    /usr/lib64/opensc-pkcs11.so

ERROR: PKCS#11 module not found

Where might I find this module?

Build error on Arch Linux

The problem is that strndup() in plugin/pluginutil.c is already defined in /usr/include/string.h:

In file included from /usr/include/string.h:634:0,
                 from pluginutil.c:3:
pluginutil.c:17:14: error: expected identifier or ‘(’ before ‘__extension__’
 static char *strndup(const char *source, size_t maxLength) {
              ^
In file included from /usr/include/assert.h:35:0,
                 from ../common/pipe.c:27,
                 from pipe.c:1

Changing the function name makes it build:

sed -i 's/strndup/strndup_/' plugin/pluginutil.c

GCC-verion: 4.9.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.