Authenticator-Extension / Authenticator

Authenticator generates 2-Step Verification codes in your browser.
https://authenticator.cc
MIT License
3.07k stars 727 forks source link

All hashing algorithm produce the same key until reset when added manually #1184

Open abaurens opened 2 months ago

abaurens commented 2 months ago

Describe the issue

When adding a new secret manually, selecting another algorithm than sha1 has no effect. All displayed codes will be sha-1 until the extension is closed and reopened.

Here is an example of what I got after adding the same secret with sha1 sha256 and sha512 with a key of length 8 (the same result happens with key of length 6). image

Closing the extension panel and re-opening it fixes this as well as the out of sync remaining time indicators.

I haven't tested if this happens with secrets added from QR Codes.

Browser

Other

Browser Version

Vivaldi 6.6.3271.53 (64 bits) -> Chrome 122.0.0.0

Extension Version

6.3.6