• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: codesign from a bash script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: debug on device does not work after upgrading to iphone sdk 3.1
  • Next by Date: No 'return' statement is not flagged
  • Previous by thread: Re: codesign from a bash script?
  • Next by thread: how do you view array values
  • Index(es):
    • Date
    • Thread