security / codesign in Sierra: Keychain ignores access control settings and UI-prompts for permission
问题 Starting with macOS Sierra, I can\'t import a codesign-identity into a keychain with /usr/bin/security any more without usr/bin/codesign UI-prompting for access when using this identity. This breaks the packaging scripts of build server. There seems to be no workaround. This affects custom created keychains, but also the login.keychain. Steps to Reproduce: Execute the following commands in Terminal (requires a signing identity to be available to import): security create-keychain -p test