Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Thienemann a29fbe22cf Improve gitignore.
Do not store token secret.
2019-03-20 14:49:53 +01:00
Andreas Thienemann 75bec452a4 Add qr code generator for third party apps. 2019-03-20 13:07:11 +01:00
Andreas Thienemann aa4807cc6a Python 3 support 2019-03-20 11:41:31 +01:00
Andreas Thienemann 5cb5600104 Update activation code.
The duo activation process has changed, the server now expects way
more information from the client as well as a new URL scheme.

Make the server happy, provide some fake data.
Save server response as a response.json file for later use.
Sanity check response, abort if no secret was passed.
2019-03-20 00:52:58 +01:00
Andreas Thienemann 389909b424 Allow for different hotp files/secrets
Just call as ./gen_hotp.py <filename>.
If filename is omitted, use default duotoken.hotp.
2019-03-20 00:50:26 +01:00
Ali Mashtizadeh 5a410e565f Cleanup and built a barebones command line interface 2018-12-01 20:30:08 -05:00
Shreyas Kapur a29ae1f57d Init 2017-05-15 08:54:22 -04:00