Last active
December 21, 2016 01:17
-
-
Save hamid-elaosta/31a368cae9ffbe884a7f26f364c7b75f to your computer and use it in GitHub Desktop.
TOTP QR in your terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Example: otpauth://Example:user%40example.com?secret=32W3536K725L5UAN&issuer=Example | |
| qrencode -t UTF8 "otpauth://totp/<issuer>:<name>%40<location>?secret=<BASE32 ENCODED SECRET>&issuer=<issuer>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment