Go to file
Johan Ouwerkerk 8d40008201 Use a SpinBox for more appropriate UI/UX when entering token lengths
Due to our use of liboath for generating the actual tokens, we also support only a limited range of valid token lengths.
This means that it is more user friendly to express those limits  directly in the UI through a SpinBox instead of allowing the user type in values we do not currently support.
2019-09-28 00:22:55 +02:00
autotests Add a test to check the TOTP implementation can (at least) generate the values from the RFC test vector correctly. 2019-09-11 09:40:44 +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 Use a SpinBox for more appropriate UI/UX when entering token lengths 2019-09-28 00:22:55 +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.