Blog

Fix for applications asking for the Keychain password in OS X Mavericks

Posted by in Apple, How-to, Technology | February 04, 2014

Now that I don’t work for Apple anymore I can post again about fixing issues in OS X and iOS devices. Some other day I’ll write about how much OS X Server sucks (now the Server application), but for now let me tell you about an issue that kept me busy this morning.

One of our work computers in the office has been prompting for the login keychain password every five minutes or so, annoying the user with popups like these:

CalendarAgent_Keychain This started happening after removing the user’s account from the computer without deleting the home folder, and logging in again using his Active Directory account. The old keychain was deleted and a new one created manually.

After checking for a while I realized that the problem is that by default any new keychain created via Keychain Access will lock itself every five minutes or when the computer goes to sleep.

Here’s how to fix this:

  • Open Keychain Access (inside Applications -> Utilities)
  • Right-click the login keychain
  • Click Change Settings for Keychain “login”…

keychain_access_change_settings_login

  • Uncheck the Lock after X minutes of inactivity and Lock when sleeping checkboxes.
  • Click Save

login_keychain_settings

Restart the computer (or at least log out from the current account) and these popups shouldn’t annoy you again.

Leave a Reply

Your email address will not be published. Required fields are marked *


Warning: Illegal string offset 'share_counts' in /www/javi_lavandeira/lavandeira.net/ftproot/htdocs/wp-content/plugins/simple-social-buttons/simple-social-buttons.php on line 477