←back to thread

248 points dogacel | 1 comments | | HN request time: 0.464s | source
Show context
yuliyp ◴[] No.43688638[source]
Facebook's login/account recovery codes are not TOTP/HOTP, but are random numbers. Also, the author struggled to check their implementation. One can easily compare an implementation of many websites by grabbing the QR codes they use for login and importing into your favorite authenticator app and also decoding the QR code to get the secret. In theory your code should produce the same codes at the same time as the app.
replies(2): >>43688903 #>>43690655 #
1. Erikun ◴[] No.43690655[source]
Both RFC:s have test vectors you can use to write tests as well.