Authenticator-Extension / Authenticator-Extension/Authenticator

Scanned or imported QR code doesn't respect algorithm (and probably period)

Aperta
#1,508 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
4.7k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Describe the issue

Scanning or importing a QR code image with a URI like
otpauth://totp/USERNAME?secret=THESECRET&issuer=THEISSUER&algorithm=SHA512&digits=8&period=60
results in non-working TOTPs.
When scanning the QR code that is shown in the plugin's UI (when hovering over the entry and clicking the QR code icon) with an other external QR code scanner, the parameters `alogrithm` and `period` are missing.
Because the TOTPs are wrong, I guess that these parameters are not only missing in the generated plugin's QR code but aren't taken into account, when translating the imported/scanned QR code.
When entering all the data manually, the TOTP is correct and the parameters are shown correctly in the generated plugin's QR code.
Same issue in Edge (Version 144.0.3719.104) and probably also in Chrome.
Unfortunately, the manual setup is a workaround, but not a real good behaviour for most "normal" users, so I would appreciate an appropriate bug fix.
Thanks in advance.
Apart from that... a great plugin.

### Browser

Firefox

### Browser Version

143.0.1

### Extension Version

8.0.2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Traccia la gestione dell'importazione e dell'esportazione tramite QR per l'URI otpauth://totp fornita, confrontandola con il percorso di configurazione manuale. Verifica che l'algoritmo, il numero di cifre e il periodo vengano mantenuti durante l'importazione e compaiano nei codici QR generati, quindi testa i valori TOTP risultanti con SHA512 e un periodo di 60 secondi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
authentication
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.