Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've just done a clean Mountain Lion install, and one thing bothers me a lot:

How can I move passwords from my old keychain to the one created by the installer when it performed a clean install without a migration of data?

I copied my old keychain to ~/Library/Keychains and added it to the keychains list. It works except that I have to unlock it every time I log in. It's rather annoying and I'd much rather have all my passwords and certificates in one keychain.

I've tried to just Cmd+C/Cmd+V the passwords from old keychain to the new one, but it asks me about keychain's passwords for every item (and there are hundreds of them)

Any ideas?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

As a workaround, you can make the password of the old keychain empty. You can do that by pressing the OK button for a second time after this error message is shown:

You can then just click the allow button repeatedly without having to type the password every time.

share|improve this answer
    
It seems to have worked! :) Still lots of clicking, but everything moved over to the new keychain. I'll check if everything works all right. –  radex Aug 25 '12 at 9:36
    
Worked (apparently), thanks a lot! –  radex Aug 25 '12 at 13:44
    
doesn't work in Mountain Lion - forces you to add a new PW. –  user33295 Oct 22 '12 at 13:26
    
@user33295 - hold Opt and click OK when setting password –  mente Jan 20 at 14:58
    
Just clicking the OK button for a second time still works for me in 10.9. –  ؘؘؘ Jan 21 at 6:13

Keep the two files separate to start with. Use "Import Items..." from the File Menu and select your previous Keychain file. It will attempt to import all your previous keys, asking for old passwords as necessary.

When finished, all your previous data will be in the new login.keychain; your old login.keychain can be thrown away.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.