Skip to content

Instantly share code, notes, and snippets.

@suhlig
Created August 30, 2022 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suhlig/cf1bd865573513dfc78866e76d32d1ad to your computer and use it in GitHub Desktop.
Save suhlig/cf1bd865573513dfc78866e76d32d1ad to your computer and use it in GitHub Desktop.
Generate 2FA auth code from known secret
pbpaste | xargs -I {} qrencode -t UTF8 -o - 'otpauth://totp/github.com/suhlig?secret={}&issuer=GitHub'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment