1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-11-13 05:06:44 +00:00
Mirror of the GitHub SailOTP Repository
Find a file
Stefan Brand c0f811d5f6 Version 1.2
Added swedish translation contributed by Åke Engelbrektson
2015-06-17 21:17:55 +02:00
i18n Version 1.2 2015-06-17 21:17:55 +02:00
qml Version 1.2 2015-06-17 21:17:55 +02:00
rpm Version 1.2 2015-06-17 21:17:55 +02:00
src Version 1.0-2 2014-07-13 12:06:10 +02:00
.gitignore Version 0.6 2014-02-09 10:59:50 +01:00
COPYING Version 0.2 2014-01-08 19:28:06 +01:00
fileio.cpp Version 1.1 2015-05-22 19:09:07 +02:00
fileio.h Version 1.1 2015-05-22 19:09:07 +02:00
harbour-sailotp.desktop Initial Import 2014-01-05 21:58:25 +01:00
harbour-sailotp.png Initial Import 2014-01-05 21:58:25 +01:00
harbour-sailotp.pro Version 1.2 2015-06-17 21:17:55 +02:00
README.md Version 1.2 2015-06-17 21:17:55 +02:00

SailOTP

SailOTP is a Sailfish Implementation of the Google-Authenticator algorithms, also known as TOPT (timer based) and HOTP (counter based) as described in RFC 6238 and 4226. A growing number of sites uses this algorithm for two-factor-authentication, including Github, Linode and several Google services.

One can add new OTP-entries using the pulley-menu. Codes can be added using the integrated QR-Code-Reader or by manually typing in the token information.

The main view of the app will show a list off all entries and their current One-Time-Tokens. The entries will be regenerated every 30 seconds, the remaining time for the current tokens is shown through a progress bar at the top of the app. HOTP-type tokens are not updated automatically, instead a refresh button is shown on the right of the token to calculate the next value and increment the counter. An entry can be edited, deleted or moved up and down in the list by long-pressing on it.

In edit-mode one can show a QR-Code of the entry (e.g. for importing it on another device) through the pulley menu.

One entry can be stared by tapping the star icon on the left. the stared item will be shown on the ActiveCover. If the Token is timer based, it will be refreshed every 30 seconds. 5 seconds before the token changes it's color will change to red. For counter based tokens a cover action to calculate the next token is shown instead. The item can be unstared by tapping the star icon again on the main view.

From the main view a token can be copied to the clipboard by tapping on it.

From the pulley menu the token database can be exported to a file for backup purposes. The backup is a AES-256-CBC encrypted and Base64 encoded file containing a JSON-representation of the database. It can be decrypted with openssl using the following command:

openssl enc -d -a -aes-256-cbc -in

if you need the information outside of SailOTP.

Importing the file is also possible from the pulley menu. If a file contains tokens that are already in the database (title and secret of the token match an existing one), these tokens will not be added again.

Contact and Issues

If you find any bugs or want to suggest a feature, feel free to use Githubs Issues feature or write an email to sailfish AT seiichiro0185.org

License

SailOTP is licensed under a 3-Clause BSD-License. See COPYING for details.

Accnowledgements

SailOTP uses the SHA-1 and HMAC-Implementation from

https://github.com/Caligatio/jsSHA

SailOTP also uses the AES-Implementation from

https://github.com/mdp/gibberish-aes

The implementation of the TOTP-algorithm was inspired by:

http://blog.tinisles.com/2011/10/google-authenticator-one-time-password-algorithm-in-javascript/

An adapted version of the QZXing-library is used for QRCode-decoding http://sourceforge.net/projects/qzxing/

The qrencode library is used for QRCode-encoding existing tokens for export to other devices. http://fukuchi.org/works/qrencode/

Translations

The following people have contributed to translating SailOTP:

  • Swedish: Åke Engelbrektson (eson57)
  • English: Stefan Brand (seiichiro0185)
  • German: Stefan Brand (seiichiro0185)