Can't register nitrokey 3 security key on PyPi
Categories
(Core :: DOM: Web Authentication, defect, P1)
Tracking
()
People
(Reporter: fabien.michel, Assigned: jschanck)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Steps to reproduce:
- Login into my pypi.org account and go to 2FA configuration
- Try to add a nitrokey 3 mini or nitrokey 3a security USB key as 2FA mecanism
Actual results:
The website raise the following error: Unsupported credential public key type "OKP"
Expected results:
The key can be registered without any issue as it does with Chromium.
Notes:
0. It works with Chromium Version 117.0.5938.48 (Official Build) Arch Linux (64-bit). I haven't tested other browsers.
- After the key is registered from Chromium, I'm able to login using 2FA and the security key with Firefox.
- The security key works without problem with Firefox on Github, Google or Microsoft accounts.
- I've also filled a bug on PyPi: https://github.com/pypi/warehouse/issues/14520 and the PyPi team filled an issue on py_webauthn library (used by pypi to auth with security keys): https://github.com/duo-labs/py_webauthn/issues/175
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Web Authentication' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Comment 2•2 years ago
|
||
This sounds like authenticator-rs #292. Can you try Firefox 118?
Assignee | ||
Comment 3•2 years ago
|
||
Actually the earliest version that this might be fixed in is 119, not 118.
Assignee | ||
Updated•2 years ago
|
Reporter | ||
Comment 4•2 years ago
|
||
With Firefox nightly 119, I now get the following error : Leftover bytes detected while parsing authenticator data
Assignee | ||
Comment 5•2 years ago
|
||
Thanks! We have a patch for that upstream and we'll merge it in the 119 cycle.
Assignee | ||
Comment 6•2 years ago
|
||
Could you try with the latest nightly?
Reporter | ||
Comment 7•2 years ago
|
||
I can't reproduce the problem with the latest nightly. Thanks for your responsiveness!
Assignee | ||
Updated•2 years ago
|
Description
•