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

Allow to synchronize keychain items to iCloud #497

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m-ruhl
Copy link

@m-ruhl m-ruhl commented Aug 20, 2021

Closes #156

@@ -248,23 +256,28 @@ - (void)insertKeychainEntry:(NSDictionary *)attributes
}
}

- (OSStatus)deletePasswordsForService:(NSString *)service
- (OSStatus)deletePasswordsForOptions:(NSDictionary *)options
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it really make sense to have this as a part of the delete query?

Copy link
Author

@m-ruhl m-ruhl Oct 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The options dictionary?
It would be consistence with the other methods..

The alternative in my opinion would be having the service and the flag as params

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oblador can we clarify this?

Copy link
Sponsor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Joel meant if we need the synchronized flag for the reset functions, because it doesn't really change behaviour - does it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my understanding, with the sychronized flag the entry is deleted from the iCloud keychain, otherwise in the device keychain

@NagaiKoki
Copy link

this pr is still working?

@bumpingChris
Copy link

@m-ruhl hi, thanks for doing this. Quick question - does this Synchronized flag work for Android - to persist the entries in keychain beyond a single device?

@jesus-castro3
Copy link

@m-ruhl hi, thanks for doing this. Quick question - does this Synchronized flag work for Android - to persist the entries in keychain beyond a single device?

Going by the docs and changes made by @m-runl, its iOS only

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

Successfully merging this pull request may close these issues.

Cannot see my keychain in iCloud
7 participants