-
Notifications
You must be signed in to change notification settings - Fork 53
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
Error: 25308 errSecInteractionNotAllowed When dumping with locked device #9
Comments
This is now fixed 36f32e7. Closing the issue! |
Hi @NitinJami, Thanks in advance. |
Hi @senryxie, Essentially, each accessibility constant defines at which state of the phone a particular item is available. Such as an item with " When the phone is locked or rebooted for the first time, the OS does not allow the applications to talk to this daemon. Since the application cannot get a response from the daemon, the application does not have the authority over the corresponding item. Hence, the error message -25308. There is a crypto explanation of this, but I assume you are not going after this. If I already knew this, why did the bug occur in the first place in my code?Well, it has to do with the SecItemCopyMatching(). The function returns In my original code #380 , "query" was not limited by accessbility constant which means all the items are to be dumped with single call to The work around for this is to obviously dump items by passing Accessibility Constants individually to Hope that clarifies. Lemme know if you have any other questions. Thanks, |
Hi Nitin, Senry |
When trying to dump the keychain when the device is locked, I receive:
It would be nice to be able to dump whatever is accessible when the device is locked.
The text was updated successfully, but these errors were encountered: