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

Add support for changing kSecUseDataProtectionKeychain #62

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

Conversation

alex-mcleod
Copy link

This option was added in Catalina and is required if you are using Keychain access groups.

@gabriel
Copy link
Contributor

gabriel commented Jan 28, 2020

I think you'd need to do this a seperate fork since this is only supported in Catalina and there are no golang build contraints for macos versions?

Also this fork could automatically enable it on new items by default as suggested by the documentation.

Rename variables and functions to match Apple
@idcmp
Copy link

idcmp commented Apr 26, 2022

With pre-Catalina being EOL, this should be safe to merge now?
(source: https://computing.cs.cmu.edu/desktop/os-lifecycle )

@@ -303,6 +320,11 @@ func (k *Item) SetSynchronizable(sync Synchronizable) {
}
}

// SetSynchronizable sets the synchronizable attribute
Copy link
Member

@joshblum joshblum Mar 7, 2023

Choose a reason for hiding this comment

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

Suggested change
// SetSynchronizable sets the synchronizable attribute
// SetUseDataProtectionKeychain sets the data protection attribute

@mattmoyer
Copy link

Hi folks, friendly 2024 bump on this. Any appetite to merge?

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.

5 participants