Skip to content
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

The operation couldn’t be completed. (LibFido2Swift.FIDO2Error error 0.) #643

Open
molind opened this issue Oct 30, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@molind
Copy link

molind commented Oct 30, 2024

Describe the bug
Trying to login into my dev account using hardware key. It shows field and says insert your pysical key and enter the PIN. I have YubiKey 5C NFC. There is no PIN, but it requires to touch the key to authenticate. When I touch the key it enters some hidden text into that PIN field and next screen is an error The operation couldn’t be completed. (LibFido2Swift.FIDO2Error error 0.)

To Reproduce
Steps to reproduce the behavior:
Tap install.
Sign in with hardware key.
Xcodes shows PIN screen.
You touch the key.
Xcodes shows an error.

There is no way to skip PIN screen.

Expected behavior
I should be able to sign in.

Screenshots
Screenshot 2024-10-30 at 12 26 08

Version

  • OS: macOS 15.1
  • Xcodes: 2.4.0
@molind molind added the bug Something isn't working label Oct 30, 2024
@MattKiazyk
Copy link
Contributor

@kinoroy can I get you to perhaps answer any issues on the hardware key?

@kinoroy
Copy link
Contributor

kinoroy commented Nov 2, 2024

Yeah at the moment, devices without a FIDO2 PIN set aren't supported, sorry about that.

However, it seems I incorrectly assumed a PIN was required by Apple as the Relying Party but that doesn't seem to be the case now that I am testing it.

So, it should be possible to support PIN-less authentication and I can work on opening a PR to allow it

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants