logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rotp - Ruby library for generating and verifying one time passwords

Description

       A  Ruby  library  for  generating  and verifying one time passwords. It works for both HOTP and TOTP, and
       includes QR Code provisioning

Examples

       rotp --secret p4ssword                       # Generates a time-based one-time password

       rotp --hmac --secret p4ssword --counter 42   # Generates a counter-based one-time password

Name

       rotp - Ruby library for generating and verifying one time passwords

Options

-s,--secret[SECRET]
              The shared secret

       -c,--counter[COUNTER]
              The counter for counter-based hmac OTP

       -t,--time
              Use time-based OTP according to RFC 6238 (default)

       -m,--hmac
              Use counter-based OTP according to RFC 4226

       -h,--help
              Show help

See Also

       /usr/share/doc/ruby-rotp/index.html

                                                    May 2015                                             rotp(1)

Synopsis

rotp [options]

See Also