How do I disable the OSX keychain password prompt? This machine is our local build server (running hudson). Everytime the automated build script runs code signing, the keychain pw prompt pops up and halts everything.
Asked
Active
Viewed 2.0k times
2 Answers
6
You can remove the "Lock after X minutes of inactivity" setting with the following command:
security set-keychain-settings ~/Library/Keychains/login.keychain
Note that if Keychain Access is open when you run this command, you'll need to close it and reopen to see the change in the keychain settings dialog.
phatblat
- 191
5
Always allow access to that keychain item when asked.
Open /Applications/Utilities/Keychain Access and make sure that the keychain containing the relevant item(s) is unlocked, and will not lock automatically by selecting Edit, Change Settings for Keychain....
Daniel Beck
- 111,893