step crypto otp

NAME

step crypto otp – generate and verify one-time passwords

USAGE

step crypto otp subcommand [arguments] [global-flags] [subcommand-flags]

DESCRIPTION

step crypto otp command group implements TOTP and HOTP one-time passwords (mention RFCs)

EXAMPLES

Generate a new TOTP token and it’s QR Code to scan:

$ step crypto otp generate --issuer smallstep.com --account name@smallstep.com -qr smallstep.png > smallstep.totp

$ cat smallstep.totp
55RU6WTUISKKGEYVNSSI7H6FTJWJ4IPP

Scan the QR Code using Google Authenticator, Authy or a similar software and use it to verify the TOTP token:

$ step crypto otp verify --secret smallstep.totp
Enter Passcode: 614318
ok

COMMANDS

   
generate generate a one-time password
verify verify a one-time password