Explore >> Select a destination


You are here

blog.josefsson.org
| | rcoh.me
6.9 parsecs away

Travel
| | I always wondered how Google Authenticator style 2-factor codes worked. The process of going from QR code to rotating 6-digit pin seemed a bit magical. A few days ago, my curiosity found itself coupled with some free time. Here's what I found: What's in the QR Code I scanned the QR code from Github with a barcode scanning app. Here's what's inside: otpauth://totp/Github:rcoh?secret=onswg4tforrw6zdf&issuer=Github Not too surprising. It tells us the protocol, TOTP, who is issuing this OTP code (Github), and most importantly the secret:1
| | www.dannyguo.com
6.7 parsecs away

Travel
| |
| | educatedguesswork.org
6.1 parsecs away

Travel
| |
| | feeding.cloud.geek.nz
12.0 parsecs away

Travel
|