Commit Graph

4 Commits

Author SHA1 Message Date
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