Post

Replies

Boosts

Views

Activity

Comment on security add-trusted-cert asks password twice in some cases: The authorization was denied since no user interaction was possible
Can also save then restore the rights: sudo security authorizationdb read com.apple.trust-settings.admin > rights sudo security authorizationdb write com.apple.trust-settings.admin allow Do your stuff sudo security authorizationdb write com.apple.trust-settings.admin < rights Default appears to be basically entitle and authenticate-admin, not sure how to set both of those via the command line arguments.
Topic: Code Signing SubTopic: Entitlements Tags:
Jan ’22
Comment on macOS 11 Big Sur breaks ssh-add -s /usr/lib/ssh-keychain.dylib
Nevermind - operator error.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on macOS 11 Big Sur breaks ssh-add -s /usr/lib/ssh-keychain.dylib
Now with Monterey 12.2.1 I'm getting: $ ssh-add -s /usr/lib/ssh-keychain.dylib Enter passphrase for PKCS#11: Could not add card "/usr/lib/ssh-keychain.dylib": agent refused operation $ ls -l /usr/lib/ssh-keychain.dylib -rwxr-xr-x 1 root wheel 284784 Feb 6 14:22 /usr/lib/ssh-keychain.dylib
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on security add-trusted-cert asks password twice in some cases: The authorization was denied since no user interaction was possible
Can also save then restore the rights: sudo security authorizationdb read com.apple.trust-settings.admin > rights sudo security authorizationdb write com.apple.trust-settings.admin allow Do your stuff sudo security authorizationdb write com.apple.trust-settings.admin < rights Default appears to be basically entitle and authenticate-admin, not sure how to set both of those via the command line arguments.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Jan ’22