{ ^_^ } sinustrom Solving life, one problem at a time!

oathuri(1)


NAME

oathuri − Generate OATH TOTP/HOTP key URI for soft tokens

SYNOPSIS

oathuri [OPTION...] SECRET ACCOUNT ISSUER

DESCRIPTION

Generates an OATH OTP key URI for initializing two factor authentication applications, also known as soft tokens.

OPTIONS

−m, −−mode=MODE Type of the OATH token: TOTP (default), HOTP
−d
, −−digits=DIGITS

Number of digits for the OTP: 6 (default), 7, 8

−c, −−counter=COUNTER

In HOTP mode the state of the moving factor (default: 0)

−p, −−period=PERIOD

In TOTP mode the window of an OTP in seconds (default: 30)

−h, −−hash=HASH

Type of hash algorithm used for the OTP: SHA1 (default), SHA256, SHA512

−0, −−null

Output URI is terminated by a null character instead of a newline. Use when piping into qrencode to avoid unrecognizeable URI QR codes.

−?, −−help

Give this help list

−−usage

Give a short usage message

−V, −−version

Print program version

EXIT STATUS

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.

SEE ALSO

qrencode(1), oathtool(1)

AUTHOR

Written by Zoltan Puskas.

REPORTING BUGS

Report bugs by email to <bugsNULL@NULLsinustrom.info>, or open an issue over the web at <https://github.com/zpuskas/oath-uri/issues>.

RESOURCES

You can find more information and usage examples on the project’s website at <https://sinustrom.info/projects/oath-uri/>.

LICENSING

GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.


Content