xcodes
xcodes copied to clipboard
unable to authenticate with Apple ID using hardware two-factor key (Yubikey)
Running xcodes 1.3.0 on Ventura 13.2.1, getting a login error with my Apple ID. It is configured to use a hardware key for authentication.
xcodes install 14.3 Beta 2 --experimental-unxip
Apple ID: <[email protected]>
Apple ID Password: xxxxxx
The operation couldn’t be completed. (DecodingError.keyNotFound(CodingKeys(stringValue: "securityCode", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"securityCode\", intValue: nil) (\"securityCode\").", underlyingError: nil)))
The operation couldn’t be completed. (DecodingError.keyNotFound(CodingKeys(stringValue: "securityCode", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"securityCode\", intValue: nil) (\"securityCode\").", underlyingError: nil)))
Same here!
Using an app-specific password doesn't work either.
Same bug in the GUI app: https://github.com/XcodesOrg/XcodesApp/issues/357
This was closed via a pull request, but the PR just reports an error, it doesn't resolve the issue.
Is this WONTFIX?
I'm not sure if this is the right issue for this, but I still can't authenticate with Yubikey 5C. I get to the PIN prompt, and when I connect and touch the key, I get the following error:
An error occured The operation couldn't be completed (LibFido2Swift.FIDO2Error error 0)
After clicking Dismiss, the workflow gets stuck in this state:
This makes the app unusable
Looks like the error message was updated, but hardware key authentication still isn’t supported. Hoping to see support for this in a future release!
$ xcodes install 16.4
Apple ID Password (****@example.com):
Account uses a hardware key for authentication but this is not supported yet.
Account uses a hardware key for authentication but this is not supported yet.
@buresdv
This repo is for xcodes(cli), so I think your issue might be better suited for the Xcodes App (GUI) repo:
https://github.com/XcodesOrg/XcodesApp/issues