Sorry I didn’t reply sooner; older versions of DevForums had a bug that meant that I didn’t see updates on this thread (that’s fixed now, so yay!).
edit the trust settings to be able to use it normally.
Monkeying with trust settings on a code-signing certificate is a bad idea. It can trigger the dreaded errSecInternalComponent. I talk more about this in Fixing an untrusted code signing certificate.
Is there any information why this does not work with iCloud Keychain?
Not really.
Keychain Access is very much on the way out as a user-level feature. Witness, for example, its recent move from Applications > Utilities to /System/Library/CoreServices/Applications. Given that, it’s easy to see why big picture issues like this aren’t being addressed.
Having said that, the file-based keychain is also on its way out, as explained in TN3137 On Mac keychain APIs and implementations. One significant remaining client of the file-based keychain is code signing. For example, developers use:
- Keychain Access > Certificate Assistant to create code-signing identities outside of Xcode
- The
securitytool to manage signing assets on CI/CD systems - Keychain Access for investigating problems
If the file-based keychain went away, or we stopped using it for code signing, we’d need replacements for all this stuff. It’s not clear what that’d look like, and that’s most definitely in The Future™ and thus not something I’m going to speculate about.
Any news about the bug report you've filed … ?
It remains unfixed.
I had to unlock my "System" keychain
Just to be clear, I recommend that you not store code-signing digital identities in the System keychain. In general, I recommend that you use the login keychain. It’s also reasonable to use a custom file-based keychain.
Then I double clicked the certificate in Finder
It’s better to run Keychain Access, choose File > Import Items, and click the Options box so that you can select the target keychain. This avoids any possibility of Keychain Access defaulting to the wrong keychain.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"