oathuri − Generate OATH TOTP/HOTP key URI for soft tokens
oathuri [OPTION...] SECRET ACCOUNT ISSUER
Generates an OATH OTP key URI for initializing two factor authentication applications, also known as soft tokens.
−−mode=MODE Type of the OATH
token: TOTP (default), HOTP
Number of digits for the OTP: 6 (default), 7, 8
In HOTP mode the state of the moving factor (default: 0)
In TOTP mode the window of an OTP in seconds (default: 30)
Type of hash algorithm used for the OTP: SHA1 (default), SHA256, SHA512
Output URI is terminated by a null character instead of a newline. Use when piping into qrencode to avoid unrecognizeable URI QR codes.
Give this help list
Give a short usage message
Print program version
oathuri exits with 0 status if creating URI was successful, and with non−zero status in case of errors. In case of errors no URI is printed.
Written by Zoltan Puskas.
Report bugs by email to <bugsNULL@NULLsinustrom.info>, or open an issue over the web at <https://github.com/zpuskas/oath-uri/issues>.
You can find more information and usage examples on the project’s website at <https://sinustrom.info/projects/oath-uri/>.
GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.