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

Default access attribute of Keychain #5

Open
Relliux opened this issue Aug 6, 2012 · 0 comments
Open

Default access attribute of Keychain #5

Relliux opened this issue Aug 6, 2012 · 0 comments

Comments

@Relliux
Copy link

Relliux commented Aug 6, 2012

Some users of our app are seeing crashes with the UUID library when there is a lock code on their phone. If the phone was locked the keychain system was returning error -25308.

The default access attribute for the kechain system used to be kSecAttrAccessibleAlways, but now it is iskSecAttrAccessibleWhenUnlocked; so we had to add a specific kSecAttrAccessible attribute on the keychain query to fix this problem.

Have seen a similar issue? If yes, did you follow a different approach? Thank you.

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

No branches or pull requests

1 participant