Commit Graph

7 Commits (534d97365848f9a6b6391a73acef0024a7a57b69)

Author SHA1 Message Date
Bhushan Shah 3da22c1de6 install new icon file and edit metadata 2019-11-03 11:57:25 +05:30
Johan Ouwerkerk f87d014ce5 Respect ENABLE_TESTING, but build tests by default 2019-10-22 19:34:38 +02:00
Johan Ouwerkerk 33b1ec033e Fixup CMakeLists find_packages(): Kirigami is required, and Qt5::Test was mentioned twice 2019-10-22 19:34:38 +02:00
Johan Ouwerkerk e6a53b6f3b Rebrand otpclient as Keysmith 2019-10-21 19:16:51 +02:00
Johan Ouwerkerk 6d7c56f94b Add autotests for validating the new base32 decoding utilities. 2019-09-11 09:40:44 +02:00
Johan Ouwerkerk 4cb92b80df Enable C++17, and use 'standard' CMake features for doing so. 2019-09-09 11:20:32 +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