KeychainAccess
KeychainAccess copied to clipboard
Support for kSecAttrAccess (Attribute Key Constant)?
Hi,
realy good solution of yours! Do you plan to support kSecAttrAccess for Attribute Key Constants? In that way trusted apps for keychain-entry-access could be defined. This is a key-feature of us and there is no framework supporting it yet.
Greetings, Andreas
has this been supported yet? if not I will have to move to a different keychain library.
As far as I know, it is not supported yet. @kishikawakatsumi: Do you agree?
I too would love to see this handled. Without this, using the keychain on macOS always requires user interaction since an ACL for the item can not be created with this framework. Please reference https://developer.apple.com/documentation/security/keychain_services/access_control_lists and Quinn's comments here: https://forums.developer.apple.com/message/230451#230451
Since macOS 10.12, it is not enough to set an ACL for a keychain item, you also have to set the partition list. The Security Framework currently does not support setting partition lists as far as I know. A workaround is to use the /usr/bin/security
binary. (Reference: https://mostlikelee.com/blog-1/2017/9/16/scripting-the-macos-keychain-partition-ids)