Skip to content

Default access attribute of Keychain #5

@Relliux

Description

@Relliux

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions