Scanning QR codes with SHA-512 (or SHA-256) generates wrong codes unless added manually
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 4.7k
- 派生
- 1.2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Authenticator-Extension/Authenticator 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 28/100
-
bug
难度 3/5 1-2 天 新手友好度 45/100
-
bug
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 25/100
Authenticator-Extension/Authenticator#1585 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
查看 Authenticator-Extension/Authenticator 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
StabilityNexus/Fate-EVM-Frontend#153 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
code-yeongyu/oh-my-openagent#9039 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
Tencent/teamai-cli#862 ·
维护者通常 1 天内回复
-
bug good first issue hacktoberfest redis
难度 2/5 1-3 小时 新手友好度 88/100
libredb/libredb-studio#1164 ·
维护者通常 1 天内回复
-
flake
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复