Can a codesigning certificate be used by a different apple ID?

Hi,

I generated code signing certificates on a computer "A" and using an apple ID "X".

Can I use the certificate to sign binary using a computer "B" and with an apple ID "Y" ?

Thank you for your help

Currently I get the error message:

codesign --force --verify --verbose --sign "Developer ID Application: XXXXX (XXXXXXX)" the_binary_to_sign --option runtime
error: The specified item could not be found in the keychain.
 

The codesign command-line tool doesn’t know anything about Apple IDs. It looks for the signing identity you supply in the keychain and that’s it. This error suggests that the signing identity is not present. You can confirm that using:

% security find-identity -p codesigning

Policy: Code Signing
  Matching identities
  …
  2) ADC03B244F4C1018384DCAFFC920F26136F6B59B "Developer ID Application: …"
  …
     18 identities found

  Valid identities only
  1) ADC03B244F4C1018384DCAFFC920F26136F6B59B "Developer ID Application: …"
  …
     11 valid identities found

Your Developer ID Application signing identity should appear in both the Matching identities and Valid identities only list. What do you see?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Can a codesigning certificate be used by a different apple ID?
 
 
Q