mitro-co / mitro

Repository for all Mitro client & server code
GNU General Public License v3.0
1.64k stars 242 forks source link

1Password Import? #9

Open waltz opened 10 years ago

waltz commented 10 years ago

The migration menu on the Firefox extension says that it can import from 1Password, but the extension UI itself doesn't have an option for 1Password in the dropdown.

screenshot 2014-07-31 12 40 17

screenshot 2014-07-31 12 40 04

leek commented 10 years ago

:+1:

nathanleiby commented 10 years ago

:+1:

kiniry commented 10 years ago

+1

joseadanof commented 10 years ago

Have you developed this integration with an specific version of 1Password?

robertknight commented 10 years ago

1Password has two data formats that it uses for sync - Agile Keychain and Cloud Keychain, plus there is a format called '1Password Interchange Format' which is essentially the 'Agile Keychain' format but not encrypted. The Agile Keychain format is what 1Password uses when syncing to Dropbox currently.

I can provide code and documentation on that if it Mitro doesn't have it already.

theIntuitionist commented 9 years ago

:+1:

cjrhoads commented 9 years ago

+1

somebox commented 9 years ago

I figured out a way... with a little bit of hacking.

From 1Password, do File > Export "All Items". Select CSV as the format. In the field chooser box, organize the fields in this way (remove Type):

URL, Username, Password, Notes, Title

screen shot 2015-01-02 at 3 56 13 pm

Then, edit the .CSV file with Excel (or any text editor), and change the header columns on the first row be to the following: url, username, password, extra, name, grouping, fav

Now you should be able to import in Mitro, by choosing LastPass and uploading the CSV. I was able to import over 600 passwords this way. In one case, I had an error from Mitro due to a single password that had weird characters. I removed the offending row of the CSV to make it work.

I was able to understand the expected CSV format by looking at this test file in Mitro. I think given the popularity of 1Password, there should be an "official" importer!