Repair corrupted Keychain Access
Ever had annoying moments where you get asked password you’ve saved in Keychain Access, every time you open an app? Well, I did. After a few readings and trials, I managed to fix the problem by doing the followings:
- Open MobileMe System Preferences and disable Syncing.
- Copy the folder ~Library/Keychains to Desktop
- In Keychain Access -> Preferences choose Reset My Keychain
- Reboot computer
- Open MobileMe System Preferences and log into MobileMe
- Under the Sync pane, check Synchronize with MobileMe and select all services
- Click Advanced - then Reset Sync Data.
- In the drop down select Keychains and then choose to pull data from MobileMe to the computer and click Replace
- Launch an app to check. In this instance, I opened Mail.app
- If prompted to enter passwords for the mail accounts, exit Mail.app
- Open Keychain Access and remove IMAP and SMTP entries for affected email accounts
- Launch Mail.app again
- When prompted, enter password and check Remember password in my Keychain
- Verify by opening Mail - Preferences, select the affected account and also verify that the password field is not blank
- If passwords were retained, you’re good. If you have more than 1 affected app, delete the corresponding entries on KeyChain Access list as per entry #11.
- Open MobileMe System Preferences.
- Under the Sync pane, click Advanced… then Reset Sync Data…
- In the drop down choose Keychains and then choose to push data from the computer to MobileMe and click Replace
You should be ok by now. Drop me a line if it works. If not, you can also post, but I may not be able to help you :D
credit: crees!