Skip to content

Add AccessControl support to KeychainSwift#191

Open
ba-amin wants to merge 1 commit intoevgenyneu:masterfrom
ba-amin:feature/access-control
Open

Add AccessControl support to KeychainSwift#191
ba-amin wants to merge 1 commit intoevgenyneu:masterfrom
ba-amin:feature/access-control

Conversation

@ba-amin
Copy link

@ba-amin ba-amin commented May 26, 2024

No description provided.

@ba-amin
Copy link
Author

ba-amin commented May 26, 2024

Hello,
In this PR, KeyhainSwift now support SecAccessControlCreateFlags, which is described here.
A best practice of this feature is described

Best Practice: Apple recommends using this feature to securely store items in the keychain and ensure they are only accessible when the user is present. Detailed guidance can be found here in Apple documentation.

Summary

  • ✅ Tests wrote for this added feature and all tests passed.
  • ✅ In Demo application (for iOS) some changes happen to optionally use this feature. (using a UISwitch)

I have personally used this feature in various projects for years and thought it would be beneficial to contribute it here. I hope you find this addition useful and valuable for the community. ❤️

@evgenyneu
Copy link
Owner

Thanks for your work, but I'm not accepting new features.

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.

2 participants