Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: getAllGenericPasswordServices allow skipping items requiring UI auth on iOS #712

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeanregisser
Copy link

@jeanregisser jeanregisser commented Jan 22, 2025

We need to list all keychain items in our iOS app, however items that are protected with biometry (Touch ID, Face ID, etc) would trigger the auth prompt upon listing.

This adds an option to silently skip such items.
See https://developer.apple.com/documentation/security/ksecuseauthenticationuiskip?language=objc

This change is fully backward compatible.

Note: we were using a custom patch for this, but we'd love to have this option in the official release. Hence this PR ;)

Let me know if you'd like anything adjusted.

@DorianMazur
Copy link
Collaborator

Hey @jeanregisser, thank you! I've been a bit busy lately, but I'll try to review it soon.

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.

3 participants