Go to file
Johan Ouwerkerk 4d7bf2f975 Add a rudimentary details page for accounts and wire up navigation to/from it.
The account details page has a kind of modality:

 - hide mode: in which the user is shown the account info but sensitive information such as secret keys should not be displayed openly visible.
 - show mode: the same, but in this case all details are openly visible. This will be useful for showing QR codes explicitly.
 - edit mode: in which the user may edit account details (all except the name).
2019-10-20 14:09:39 +02:00
autotests Introduce a validator for the HOTP counter field. 2019-10-02 21:56:58 +02:00
cmake Initial code for OTP client 2019-03-25 02:58:56 +05:30
flatpak Make flatpak build again by copying a patch from Arch 2019-09-13 15:47:41 +02:00
src Add a rudimentary details page for accounts and wire up navigation to/from it. 2019-10-20 14:09:39 +02:00
.gitignore Initial code for OTP client 2019-03-25 02:58:56 +05:30
.gitlab-ci.yml Add gitlab ci configuration to build the flatpak package 2019-03-25 03:01:15 +05:30
CMakeLists.txt Add autotests for validating the new base32 decoding utilities. 2019-09-11 09:40:44 +02:00
COPYING Add license file [skip ci] 2019-03-25 03:32:29 +05:30
README.md update readme file [skip ci] 2019-03-25 19:39:43 +05:30
org.kde.otpclient.appdata.xml Initial code for OTP client 2019-03-25 02:58:56 +05:30
org.kde.otpclient.desktop Initial code for OTP client 2019-03-25 02:58:56 +05:30
org.kde.otpclient.json Make flatpak build again by copying a patch from Arch 2019-09-13 15:47:41 +02:00

README.md

pipeline status

OTP client

It uses the oath-toolkit 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
  • 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 application by the Rodney Dawes and Michael Zanetti for the Ubuntu Touch.