Skip to content

Conversation

@DorianMazur
Copy link
Collaborator

Closes #752

Added an LAContext capability check in SecAccessControlCreateFlags for iOS and visionOS.
If biometric flags are requested but no biometrics are enrolled, we now fall back to kSecAccessControlDevicePasscode.
This avoids Keychain creation failures on devices without Touch ID or Face ID configured.
Behavior remains unchanged when biometrics are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Critical Error: setGenericPassword fails on all new keys after resetting FaceID with BIOMETRY_CURRENT_SET_OR_DEVICE_PASSCODE

2 participants