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

Enable kSecAttrAccessibleAfterFirstUnlock #169

Open
RudyB opened this issue Feb 7, 2017 · 3 comments
Open

Enable kSecAttrAccessibleAfterFirstUnlock #169

RudyB opened this issue Feb 7, 2017 · 3 comments

Comments

@RudyB
Copy link

RudyB commented Feb 7, 2017

I am trying to access a users password from a widget on a locked iPhone. How do I enable kSecAttrAccessibleAfterFirstUnlock with Locksmith?

@lohithkorp
Copy link

have you got an answer on this? I need to do the same too..

@getaaron
Copy link
Collaborator

@lohithkorp
Copy link

yes @getaaron !
I inhertied my class have from SecureStorable and then set the accessible variable as public var accessible: LocksmithAccessibleOption? = {return .afterFirstUnlock}() as suggested by Matt in one of the other issues. But, the keychain items are not accessible from background.

At this moment, the accessible is set to default and it is whenUnlocked. Can you please explain how I can change this?

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

3 participants