Commit Graph

5 Commits (master)

Author SHA1 Message Date
Johan Ouwerkerk db41697dbf Build libsodium as a CMake external project 2020-05-15 17:54:37 +02:00
Johan Ouwerkerk 3a048f221f Add FindSodium cmake script from upstream libsodium
This relates to issue #6: libsodium will be used to implement secure
storage of token secrets.
2020-04-23 18:59:17 +02:00
Johan Ouwerkerk 8bd765e385 Remove the dependency on oath-toolkit.
This resolves issue #9.
2020-02-08 14:46:55 +01:00
Yuri Chornoivan 6fada16de7 Fix minor EBN issues 2020-01-24 20:44:47 +02:00
Bhushan Shah 8819d205f9 Initial code for OTP client
It uses the oath-toolkit[1] provided library liboath to generate the 2FA
codes, both TOTP and HOTP based. Currently it is largely untested. From
initial rough testing it seems that auto-refreshing of code is not
working. Also button to refresh token for HOTP is also dummy at moment.

Some todo items include,

- Verify the generated oath code is correct
- Make refreshing token work
- QR code scanning
- Backup and Restore of accounts
- Clipboard support to automatically copy code.
- Encrypted storage of the secret token

This code is largely based on the authenticator-ng[2] application by the
Rodney Dawes and Michael Zanetti for the Ubuntu Touch.

[1] https://www.nongnu.org/oath-toolkit/
[2] https://github.com/dobey/authenticator-ng
2019-03-25 02:58:56 +05:30