New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong Error message for U2F Error code 4. #14130
Comments
|
can U2F keys be emulated ? |
|
in theory yes. I dont know how though although there are a few of them which are VERY cheap. |
|
I added this to 5.2, it is a quick fix from what I see and the message is not "wrong" but from the code I can see we could implement more specific error codes than just error code 5 Lines 14 to 20 in 287d743
|
|
Hi! I'm looking to make my first contribution to an open source project! Is there some way I can help with this issue? |
Hi @quinnzipse Let me know if you need help |
Steps to reproduce
Expected behaviour
Error Message 4 saying that the stick used is unknown to this account
Actual behaviour
Error message 4 saying "Failed security key activation (4)."
Reason
Error Message 4 works differently for Registration and Login as described here:
https://developers.yubico.com/U2F/Libraries/Client_error_codes.html
For Registration: the key is already used.
For Login: the key is unknown.
Server configuration
Operating system: Win 8.1 Pro x64
Web server: Caddy 0.10.11
Database: MySQL 5.6.21
PHP version: 7.2.0
phpMyAdmin version: 4.8 RC1
Client configuration
Browser: Opera 52
Operating system: Win 8.1 Pro x64
The text was updated successfully, but these errors were encountered: