Hello, I am writing an AuthenticationService plugin to provide Passkeys to a web browser.
The problem is that, after I call ASCredentialProviderExtensionContext.completeRegistrationRequestWithSelectedPasskeyCredential with the attestation object I composed, the operation fails and the MacOS system log contains the error
com.apple.AuthenticationServices.Helper: (AuthenticationServices) [com.apple.AuthenticationServices:Authorization] Returned credential failed validation: Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1002 "Found unsupported attestation type." UserInfo={NSLocalizedFailureReason=Found unsupported attestation type.}
Is there a way to find out what part of my attestation is triggering this error?
P.S. the same code is able to generate a valid passkey on Windows platforms, so it's not completely broken
Thanks,
Alberto
1
0
807