Re: codesign from a bash script?
Re: codesign from a bash script?
- Subject: Re: codesign from a bash script?
- From: Greg Guerin <email@hidden>
- Date: Fri, 18 Sep 2009 12:21:33 -0700
Brant Sears wrote:
Hi. I have a build system in which people on our team log into the
build machine using ssh and run the build script.
One of the things that the script should do is codesign. I am
seeing a problem where codesigning fails by printing an error that
says "User interaction is not allowed."
Is there a way to do code signing that does not require user
interaction?
The codesign tool accesses the keychain for a signing identity. If
the keychain is locked, it will attempt to run a keychain-access
dialog. This obviously won't work from an ssh session.
The 'security' command is the means for managing access to keychains
in a command-line (non-GUI) environment. Read 'man security',
especially the unlock-keychain sub-command.
You can also find more with these google keywords:
codesign ssh site:apple.com
For example:
http://lists.apple.com/archives/apple-cdsa/2008/Jan/msg00027.html
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden