Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Scanning QR codes with SHA-512 (or SHA-256) generates wrong codes unless added manually

Aperta
#1,593 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

bug
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Authenticator-Extension/Authenticator

Tutte le issue di Authenticator-Extension/Authenticator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.