Hello there,
Can i rely on the following mapping:
generateKey — local only, two possible errors:
featureUnsupported (simulator, iOS < 14)
unknownSystemFailure (Secure Enclave fault).
attestKey — contacts Apple servers, possible errors:
featureUnsupported (simulator, iOS < 14)
unknownSystemFailure (Secure Enclave fault)
invalidInput (one time challenge is not hashed properly)
invalidKey (key already attested)
serverUnavailable (no network, Apple service down, rate limiting in action).
generateAssertion — local only, possible errors:
unknownSystemFailure((Secure Enclave fault))
invalidInput (one time challenge is not hashed properly)
invalidKey (key deleted from Secure Enclave).
Topic:
Privacy & Security
SubTopic:
General
Tags: