I love 1Password! It is a really great Password manager, and in a recent version they added support for storing all your software serial numbers & registrations. I’ve been using a simple FileMaker Pro database for that, so I want to import all of it into 1Password.
The problem begins when you notice that 1Password can import from a text file, but it can only import a text file into Secure Notes or Logins. Aw really? :-( Hey, these are software registrations, and they belong in that section. It is easy to import your software registrations into 1Password as “Secure Notes” but that seems wrong, especially with a special “Software” section right next to it.
As it turns out there is a trick, and it sounds more difficult than it really is. I’m going to show you how to import your software serial numbers into 1Password so they go into the right section all at once, from any software that can export to a text file. Then I’ll show you some tricks you can use to get your data smoothly from FileMaker Pro to a text file to import into 1Password.
Begin;
Export your software registrations from the other software as a text file; either CSV (Comma Separated Values) or Tab-delimited. If your data might include commas, then export as tab-delimited, then find/replace the commas with something else, then find/replace the tabs to be commas. I used the awesome & free TextWrangler for Find/Replacing, it was great. I replaced commas with double dots (..) .
Ok, so Export your data, or export & rearrange the columns in Excel so that you have them in this order:
title,version,serial number,registered name,registered email,registered company,publisher,website,support email,purchase date,currency,price,order number,notes
It MUST be comma delimited to import as we need to .
Do NOT allow a space after the commas because that will add a space to the beginning of the next field. If you don’t have all of those fields, it is ok to just have the right number of commas, even if there is nothing between them.
You MUST use Windows line endings. So open the file with TextWrangler and pull the Edit menu to Document Options. Choose Windows (CRLF), & OK.
For FileMaker Pro Users:
If your original data has different fields than needed, or less fields, you can make a new calculated field to concatenate several fields into 1 fmp field for export. In my case I had only 6 Filemaker fields (Title, Version, Registration Number, Number of Users, Date, Notes), but 2 of them (Notes & Number of Users) needed to be combined into the 1Password Notes field. So something like this will work in Filemaker Pro;
Make new calculated field “LicenseKeeperExport” of type “text”. Here’s the formula =
Title &”,”&
Version &”,”&
Registration Number &”,”&
“,”&
“,”&
“,”&
“,”&
“,”&
“,”&
DateToText(Date) &”,”&
“,”&
“,”&
“,”&
Notes & If(Number of Users >0, ” | Number of users = ” & Number of Users,””)
Then from FileMaker, export just the 1 field (I called it “LicenseKeeperExport”) that includes all of the above in this order, with commas. It won’t matter if this export is tab-delimited or CSV, because we are only using 1 field per record, so there won’t be any more delimiters added. Only what we defined in that calculated field, and a CR ending each record.
OK! So we’ve exported a text file! Hooray. But we are not done.There is some important formatting or it will not work out. You’ll need to use Windows CRLF line endings as (as explained above).
If your exported data is surrounded by Quotes (“) you want to remove those. Find/Replace the quotes with nothing, starting from top.
Note: depending on your data, you might also need to remove control characters from your data. Also easy. Pull TextWrangler’s Text menu -> Zap Gremlins. You probably only need to zap the control characters, replacing with a bullet.
OK! So that’s the difficult part. Save & close the file. We are finished with FileMaker & TextWrangler.
Let’s Launch 1Password and pull the File Menu to Import.
Choose the file type of LicenseKeeper. Surprise! You might expect to choose CSV or Text file, but that will NOT work – because those don’t allow import into the Software section. Remember? That is why we are doing all this! :-) Apparently LicenseKeeper also uses a text format, but with those differences that we did find/replaces for.
Select your CSV file, and select the Character encoding. Mac Roman worked the best for me, but ascii was mostly pretty good too.
If you get to this next screen where it shows a list of your data in nice columns you’re doing well & it will probably work. :-) Keep going!
Give a quick Shout! Hooray! It worked & we are FINISHED! :-)
Hello,
Thanks for this tip!
I can’t figure it out though. Should I make a Excel file and save it as a .csv? Will that work? Or do I have to make a file with TextWrangle? I don’t have licensekeeper. I just got 1password and found this helpful hint so it looks cool but I need a few more details.
Can I make a .csv file on excel then chose import in 1password then chose .csv?
thanks for your kind consideration,
-Dominick
Yes, you can make the csv file in Excel, or any app. You don’t need the LicenseKeeper app, I don’t have it either. We just use that format because it works for this. TextWrangler comes into play here for the find & replace, and to save the file with the correct line endings.
If you don’t already have your data stored in an app, you can of course enter your data directly into 1Password. This post is all about importing your data from another app into 1Password.
Thanks for reading!
Hey Dave, your trick worked as expected. I imported around 85 licences into 1Password in less than an hour!
With the first post on this subject, I figured out that if we could have the list of fields in the proper order, we should be able to match every one of them available in 1Password. I started working on the list of fields, but finally got something else to do, and never came back. Your page put everything I needed to do it.
It took me an hour mostly because I also make sure, when I was in Numbers, that I clean-up things there before importing. Was easier to clean in Numbers than in Bento or 1Password.
Now, Agilebits just need to get back to their programming workbench and make this feature even more interesting in future versions! :)
Thanks again.
Fantastic news, Steve! I’m glad that worked out for you. :-)
Three cheers for Dave.
Khad Young
Forum Choreographer, AgileBits
http://support.agilebits.com/
Thanks, that was great, I’ve been looking at a way to get my serial numbers into 1Password for a year now ( from Filemaker)- it was the line ending thing that I had missed!
thanks