3 ms·
The article says at the bottom that Google Authenticator uses 10-byte secrets. Is that wrong, or is there something about the topology that's different from wha
by sp332 8y ago
The article says at the bottom that Google Authenticator uses 10-byte secrets. Is that wrong, or is there something about the topology that's different from what's described in the article?
- lvh 8y agoIt's not clear to me what that even means. Google Authenticator is the client, it doesn't get to pick the secret. I'm guessing it means "people did it wrong for a while and Google Authenticator had to compatible so it allows secrets that are technically not allowed by the RFC"? In which case: still a site bug, not a GA bug :)
- philsnow 8y agoGoogle Authenticator (the app on ios/android) doesn't generate secrets, it consumes secrets that you either scan through a QR code or type in the raw base32. It can use 10-byte secrets if that's the kind you feed it.
- deleted 8y ago[deleted]
- jlmorton 8y agoWhile I'm not sure what each implementation does, this popular Java implementation of Google Authenticator indeed generates a key with 10 bytes: https://github.com/wstrange/GoogleAuth/blob/d5074b49420132776c770ba1277a4df158e7398f/src/main/java/com/warrenstrange/googleauth/GoogleAuthenticator.java#L103 https://github.com/wstrange/GoogleAuth/blob/d5074b4942013277...