Hi
We are working on an authorization plugin.
Privileged mechanisms in our setup store/retrieve items to/from system keychain. We add trusted applications for these keychains items via
Is there is a way for us to achieve what we want without lifting ACL restrictions?
We are working on an authorization plugin.
Privileged mechanisms in our setup store/retrieve items to/from system keychain. We add trusted applications for these keychains items via
Code Block SecTrustedApplicationCreateFromPath
, though it's now marked as deprecated. The problem via facing atm is that if the user installs our plugin on macOS 10.14 and then makes an upgrade to 10.15, our plugin loses access to these keychain items. As far as we understood, it happens because starting from 10.15 Code Block authorizationhost
uses xpc helper to access system keychain items. We tried to add explicitly Code Block SecTrustedApplicationRef
with Code Block /System/Library/Frameworks/Security.framework/Versions/A/MachServices/authorizationhost.bundle
because, according to SecTrustedApplicationCreateFromPath doc:but it didn't help.For application bundles, use the
path to the bundle directory. Pass NULL to refer to yourself, i.e. the application or tool
making this call
Is there is a way for us to achieve what we want without lifting ACL restrictions?