XcodesOrg / XcodesOrg/XcodesApp

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

Open
#643 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
8.6k
Forks
387
Avg merge
6d 7h
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the hardware-key sign-in flow on macOS 15.1 with Xcodes 2.4.0 and a YubiKey 5C NFC, then trace where the PIN prompt and LibFido2Swift.FIDO2Error error 0 are surfaced. Compare the touch-only key behavior with the displayed PIN requirement; done means successful sign-in without incorrectly treating the touch as hidden PIN input.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
authentication, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.