Answer the question
In order to leave comments, you need to log in
pkg productsign. What am I doing wrong?
> spctl --assess -v --type install Unsigned.pkg
Unsigned.pkg: rejected
source=no usable signature
> productsign --timestamp=none --sign "Developer ID Installer: Roga and Kopyta Ltd." Unsigned.pkg Signed.pkg
productsign: signing product with identity "Developer ID Installer: Roga and Kopyta Ltd. (123456789)" from keychain /Users/user/Library/Keychains/login.keychain
productsign: adding certificate "Developer ID Certification Authority"
productsign: adding certificate "Apple Root CA"
productsign: Wrote signed product archive to Signed.pkg
> spctl --assess -v Signed.pkg
Signed.pkg: rejected
source=no usable signature
> spctl --assess -v --type install Signed.pkg
Signed.pkg: accepted
source=Developer ID
Signed.pkg can't be installed because its digital signature is invalid.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question