A python demo application of 2-Factor Authentication with the BitId protocol.
The goal of this toy project is to illustrate how BitId can be used to implement 2FA in addition to a basic authentication system (by login/password).
Live demo: http://vps90685.ovh.net:8081/
Tested with Python 2.7.6 and 3.3.3
Flask (http://flask.pocoo.org/) - A microframework for web development
pip install flask
PyBitId (https://github.com/LaurentMT/pybitid) - A python library for the BitId protocol
Gets the library from Github : https://github.com/LaurentMT/pybitid/archive/master.zip
Unzips the archive in a temp directory
python setup.py install
- BitId protocol : https://github.com/bitid/bitid
- PyBitId : https://github.com/LaurentMT/pybitid
- Android wallet implementing BitId : https://github.com/bitid/bitcoin-wallet
Twitter: @LaurentMT
WORK IN PROGRESS !!! CONTRIBUTORS ARE WELCOME !
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request