site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Sorry to answer my own question... its always the way you find the answer shortly after posting! The solution is to unlock the keychain first, ie: $ security unlock-keychain -p 'password' $ /Developer/usr/bin/packagemaker --sign installer/bin-10.6/MyPackage.pkg -c 'Some Cert' $ success! On 15/12/2010, at 11:14 AM, Nick Blievers wrote:
Hi,
How can I sign a package without executing the command from the GUI context?
For example: If I log in, open Terminal.app and run; $ /Developer/usr/bin/packagemaker --sign installer/bin-10.6/MyPackage.pkg -c 'Some Cert'
it succeeds and requires no GUI interaction.
However, if I ssh localhost (same user), and try the same command, I get: $ /Developer/usr/bin/packagemaker --sign installer/bin-10.6/MyPackage.pkg -c 'Some Cert' Sign Data: CSSMERR_CSP_NO_USER_INTERACTION Error signing data. ERROR: Could not sign package. $
I would like to have my build process automated, but this final step is stopping me. Does anyone have any suggestions?
Thanks
Nick
PS I am running 10.6.5 w/ xcode 3.2.5 _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/nick%40trustdefender.co...
This email sent to nick@trustdefender.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com