Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHA-512 #14

Open
bitmodeler opened this issue Jun 17, 2024 · 0 comments
Open

SHA-512 #14

bitmodeler opened this issue Jun 17, 2024 · 0 comments

Comments

@bitmodeler
Copy link

I used a digest of SHA-512, and the codes generated were not consistent with Google Authenticator set to SHA-512, using the same shared secret. SHA-1? Works every time.

Here's what's interesting: I found the same discrepancy for a number of other python and [node] JavaScript totp implementations! Try it, and you'll see the same results. Works for SHA-1, but not SHA-512.

The Google Authenticator is this one:
https://github.com/Authenticator-Extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant