Authenticator-Extension / Authenticator-Extension/Authenticator

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

Open
#1,184 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### 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](https://github.com/Authenticator-Extension/Authenticator/assets/6839425/62ee7807-5f4c-4526-a159-65eb0a1ae98c)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.