Additional Update on Developer ID Signing Issue (errSecInternalComponent)
Since my previous update, I've taken the following steps:
Fully reset the default login keychain and metadata on the affected macOS build machine, resulting in a completely clean, empty login keychain.
Imported the Developer ID Application certificate and private key (Developer ID Application: Fidelis Security LLC (J4WGF5B6KZ)) from the previous backup into the new login keychain.
Verified trust settings and access control for the imported certificate and private key:
Certificate shows fully trusted and valid.
Private key access control explicitly allows use by codesign.
Successfully exported the certificate and private key from the new login keychain without issues, confirming no export-related problems remain.
Ran the simplest possible signing test from Terminal:
cp "/usr/bin/true" "MyTrue"
codesign --force --timestamp --options runtime \
--sign "Developer ID Application: Fidelis Security LLC (J4WGF5B6KZ)" \
./MyTrue
This resulted in the identical error as before:
./MyTrue: replacing existing signature
Warning: unable to build chain to self-signed root for signer "Developer ID Application: Fidelis Security LLC (J4WGF5B6KZ)"
./MyTrue: errSecInternalComponent
Additionally, the output from security find-identity -p codesigning (obfuscated for privacy) is as follows:
Policy: Code Signing
Matching identities
1) [ID] "Developer ID Application: Fidelis Security LLC (J4WGF5B6KZ)"
1 identities found
Valid identities only
1) [ID] "Developer ID Application: Fidelis Security LLC (J4WGF5B6KZ)"
1 valid identities found
Topic:
Code Signing
SubTopic:
General
Tags: