You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4455c35
Browse filesBrowse the repository at this point in the historyBrowse files
Add secureKeyStorageAvailable to getAvailability() and reject createKey()
with secure_key_storage_unavailable when the device has no Secure Enclave,
such as the iOS Simulator, instead of failing inside SecKeyCreateRandomKey.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|`getAppIdentifier()`| The app identifier sent to Clerk as `app_identifier` (the iOS bundle identifier). |
69
-
|`getAvailability()`| The device's biometry type and whether biometrics or device owner authentication can be evaluated. |
70
+
|`getAvailability()`| The device's biometry type, whether biometrics or device owner authentication can be evaluated, and secure key storage.|
70
71
|`createKey(policy)`| Creates a Secure Enclave P-256 key and returns its `localKeyId` and public key JWK. |
71
72
|`sign(localKeyId, clientData, reason?)`| Prompts for authentication and returns an ES256 signature over `clientData` (raw `r \|\| s`, base64url without padding). |
72
73
|`hasKey(localKeyId)` / `deleteKey(localKeyId)`| Checks for or deletes a key. |
0 commit comments