Scanning QR codes with SHA-512 (or SHA-256) generates wrong codes unless added manually
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- authentication
Direzione di ricerca
Start by tracing the QR scan/import process and compare how it handles the algorithm parameter with the Manual Entry flow, where SHA-512 is saved correctly. Verify the behavior with QR codes using SHA-512 and SHA-256; done means scanned accounts preserve the encoded algorithm and generate codes matching the actual token.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the issue
Hi,
I noticed an issue when scanning QR codes that use SHA-512 for two-factor authentication.
When I scan a QR code where the algorithm is set to SHA-512, the extension produces an incorrect code that does not match the actual token. However, if I enter the same account using "Manual Entry" and change the algorithm to SHA-512 in the advanced settings, it works completely fine and generates the correct code.
I also tested the exact same QR code on other authenticator apps like 2FAS and Aegis, and both of them scan and handle the SHA-512 algorithm out of the box without any problems.
It seems that during the QR scan/import process, the algorithm parameter is not being recognized properly and defaults back to SHA-1, while manual entry saves it correctly.
Could you please look into this so that scanned QR codes with SHA-512 (and other algorithms like SHA-256) are automatically detected and saved with the right algorithm?
Thank you!
Browser
Chrome
Browser Version
153.0.8010.53
Extension Version
8.0.1
- Lingua principale
- TypeScript
- Stelle
- 4.7k
- Fork
- 1.2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Authenticator-Extension/Authenticator
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
-
Can't scan new qrcodesApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
The auto fill does no workApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Invalid Code ErrorAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Authenticator-Extension/Authenticator#1585 · 1 commento ·
-
Project status and roadmapAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Tutte le issue di Authenticator-Extension/Authenticator
Issue simili
-
docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
remix-run/react-router#15558 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
solana-foundation/pay-kit#341 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
supabase/agent-skills#607 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno