The 1Password Community forums are in read-only mode from Jan 28th - Feb 4th, 2025. Find out more.

How do I Import Safari password keychain logins to 1Password?

glow259
glow259
Community Member
  • I’m new to 1Password *

1Password version 5.3 - purchased 09.26.15

iMac 27 5k retina desktop PC ( no iPhone nor iPad. . . nor wireless thingies)
OS X Yosemite 10.10.5

Re: Import Safari password keychain logins to 1Password

Hello,

  1. How do I sync/import/copy the keychain logins to 1Password
    so I do not have to do all the logins one by one?

  2. How do I activate or apply your “passwordAnywhere” for all my
    login sites for my iMac desktop only?

Here’s to hoping it can be done

Thank you

glow259


1Password Version: 5.3
Extension Version: 4.4.3 safari; 4.4.3.90 Google chrome
OS Version: OS X 10.10.5
Sync Type: I don't know, unless Time Machine is considered

Comments

  • Hi @glow259,

    How do I sync/import/copy the keychain logins to 1Password so I do not have to do all the logins one by one?

    I'd recommend trying MrC's script to import the data from OS X's keychain here, @MrC is our awesome community moderator who will love to help you import your data.

    How do I activate or apply your “passwordAnywhere” for all my login sites for my iMac desktop only?

    Do you mean 1PasswordAnywhere? If you have 1Password installed on the iMac, you should only use the browser extensions, not 1PasswordAnywhere. This guide will explain how you can use the browser extensions for your Logins. There is a note that will explain how to disable Safari's built-in password manager to ensure only 1Password will handle filling/saving in your browser.

  • glow259
    glow259
    Community Member
    edited October 2015

    Thank you MikeT . . .

    I decided to go over my 2-year-old keychain which started from mac mini (later2012) in 2013 [ I now have iMac purchased this past May]. I found that 12% of my keychain is not working anymore due to changes. . . and even samsung switched to a "3rd party" sign in. (?) I'm not familiar with the 3rd party so I'm skeptic. I did all my 1Password logins manually instead.

    It took 3 days of available free time and I was able to login to all my sites and have 1Password save each one of them. I also discovered that all I need to do is click the assigned 1Password login twice to accommodate 2-stage logins on some that have intricate entries.

  • Drew_AG
    Drew_AG
    1Password Alumni

    Hi @glow259,

    That certainly sounds like a lot of work, but I'm glad you were able to save all your logins in 1Password! In the long run, I think it's better to do it that way (that's what I did years ago when I started using 1Password). It's also good because it helped you figure out which website logins still work and which don't.

    I really hope you'll enjoy 1Password! If you have more questions or need help with anything, just let us know. :)

  • bahanx1
    bahanx1
    Community Member

    I have 500 passwords and 110 system passwords for different routers in my keychain. I really don't want to re-key them. Ho can I do a clean migrate?

  • MrC
    MrC
    Volunteer Moderator

    Hi @bahanx1 ,

    The 1Password converters, as mentioned above, will do the job.

  • bahanx1
    bahanx1
    Community Member

    Thanks Sir. Much appreciated.

  • littlebobbytables
    littlebobbytables
    1Password Alumni

    Those convertors are amazing :smile:

  • bahanx1
    bahanx1
    Community Member
    edited October 2015

    Examined 0 records
    Skipped 0 non-login records
    Skipped 0 duplicate records
    Imported 0 records
    Cannot create 1pif output file: /var/root/Desktop/1P_import.1pif
    No such file or directory

    sh-3.2# perl5.16 convert_to_1p4.pl Keychain -v ../convert_to_1p4
    Examined 0 records
    Skipped 0 non-login records
    Skipped 0 duplicate records
    Imported 0 records
    Cannot create 1pif output file: /var/root/Desktop/1P_import.1pif
    No such file or directory

    sh-3.2# perl5.16 convert_to_1p4.pl Keychain -v ../
    Examined 0 records
    Skipped 0 non-login records
    Skipped 0 duplicate records
    Imported 0 records
    Cannot create 1pif output file: /var/root/Desktop/1P_import.1pif
    No such file or directory

    Also, I got a 1P_import.1pif after the following:

    ********* cd desktop/convert_to_1p4
    *********:convert_to_1p4 ********perl5.16 convert_to_1p4.pl Keychain -v ../convert_to_1p4
    Examined 0 records
    Skipped 0 non-login records
    Skipped 0 duplicate records
    Imported 0 records
    Exported 0 total items
    ********:convert_to_1p4 ********$

    But, the 1pif file contains nothing. A 0 byte file on the desktop.

    I tried everything in the manual. checked the spelling. tried sudo su.

    I am using macbook pro, el capitan

    Please tell me where I am going wrong?

  • bahanx1
    bahanx1
    Community Member
    edited October 2015

    Please Help I have tried this for hours.

  • MrC
    MrC
    Volunteer Moderator
    edited October 2015

    Hi @bahanx1,

    Sorry for the delay - I was away from the computer.

    What is the name of your exported keychain data file? I can't tell from the command you've tried:

     perl5.16 convert_to_1p4.pl Keychain -v ../convert_to_1p4
    

    The README advises you name the file "pm_export.txt", and place it onto your Desktop. Did you export your keychain data?

    It seems you are trying say that the file's name is "../convert_to_1p4", but is that what you actually named it?

    The errors you are seeing are because the command is not specifying the name of the file you created.

    It also appears you are running as ROOT, a very bad idea, and ROOT's home directory of /var/root does not have a Desktop folder. Run the command as your non-root user.

  • bahanx1
    bahanx1
    Community Member

    I made the changes, it seems to work but I get this:

    L*******:convert_to_1p4 r*******$ perl5.16 convert_to_1p4.pl Keychain -v ../pm_export.txt
    Keychain parse failed, after entry 0; unexpected:

  • MrC
    MrC
    Volunteer Moderator
    edited October 2015

    @bahanx1

    How did you generate that pm_export.txt file?

  • MrC
    MrC
    Volunteer Moderator

    @bahanx1 ,

    I just checked that it works for me on El Capitan:

    $ security dump-keychain -d login.keychain > ~/Desktop/pm_export.txt
    $ perl convert_to_1p4.pl keychain ~/Desktop/pm_export.txt  -v
    Examined 152 records
    Skipped 105 non-login records
    Skipped 5 duplicate records
    Imported 42 records
    Exported 1 note item
    Exported 41 login items
    Exported 42 total items
    You may now import the file /Users/MrC/Desktop/1P_import.1pif into 1Password
    
  • bahanx1
    bahanx1
    Community Member

    HeHe :)

    LANDMINE:convert_to_1p4 r*******$ perl5.16 convert_to_1p4.pl Keychain -v ../pm_export.txt
    Examined 618 records
    Skipped 178 non-login records
    Skipped 1 duplicate record
    Imported 439 records
    Exported 439 login items
    Exported 439 total items
    You may now import the file /Users/r*******/Desktop/1P_import.1pif into 1Password
    LANDMINE:convert_to_1p4 r*******$

    MRC! Thanks A Million MAN!!!

  • MrC
    MrC
    Volunteer Moderator

    @bahanx1,

    Fantastic!

  • bahanx1
    bahanx1
    Community Member

    Much Appreciated!

  • eva_s
    eva_s
    1Password Alumni

    Hi @bahanx1,

    I so glad @MrC was able to help you get your data migrated for you!

This discussion has been closed.