-
Notifications
You must be signed in to change notification settings - Fork 191
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
[Core] Keychain migration #1203
Conversation
var deleteQuery = buildBaseServiceQuery(for: key) | ||
deleteQuery[kSecAttrAccessible] = kSecAttrAccessibleWhenUnlockedThisDeviceOnly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if read failed for kSecAttrAccessibleWhenUnlockedThisDeviceOnly
why delete won't?
@@ -55,7 +55,8 @@ public final class KeychainStorage: KeychainStorageProtocol { | |||
case errSecSuccess: | |||
return item as? Data | |||
case errSecItemNotFound: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it the error case we are getting when app is in background?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested and it worked as expected
Description
tryMigrateAttrAccessible:
Resolves # (issue)
How Has This Been Tested?
Due Dilligence