Authenticator-Extension / Authenticator-Extension/Authenticator
OCR with digests other than SHA-1 doesn't work
Open
bug
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the issue
When scanning an QR code made with the SHA-256 or SHA-512 digest, the App doesn't respond incorrect OTP's. However OCR scanning SHA-1 hashed QR's returns valid OTP's.
You can reproduce the error here:
https://www.token2.com/shop/page/token2-totp-toolset-sha256-version
(offers SHA-1 also)
When adding the (e.g.SHA-256) secret manually to the extension, this issue doesn't appear.
### Browser
Firefox
### Browser Version
102.14.0esr
### Extension Version
6.3.5
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.