This repository was archived by the owner on Oct 15, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 300
Migrating to Password Store
sc-perth edited this page Oct 22, 2016
·
8 revisions
I'm working on this as you look at it. You might want to come back later.
- Password Store is an Android app designed to be compatible with pass "the standard unix password manager". That is, one could call it an Android implementation of pass. That requires maintaining compatibility with pass to be a top priority. For that reason much of pass' documentation will apply, ie file structure & storage conventions.
- Password Store, and pass for that matter, are created in the unix philosophy of "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new 'features'." This means that conversion between two password managers isn't in the scope of the project. But it can be done, and due to pass' simplified storage convention, it can be done easily. You just do it with something else, with scripts found in the pass project git repo.
pass' storage convention is stupid simple. So, with a bit of thought & scripting knowledge, probably anything you can export your data from. That said, pass provides scripts to convert the following password manager's data:
- 1Password
- Homepage: https://1password.com/
- Exporting: https://support.1password.com/export/
- Conversion notes: Supports comma and tab delimited text files, as well as logins (but not other items) stored in the 1Password Interchange File (1PIF) format.
- FPM
- Homepage: http://fpm.sourceforge.net/
- ¿FPM2? Homepage: http://als.regnet.cz/fpm2/
- Exporting: Is possible, but I can't find any specific instructions...
- Conversion notes: Converts from XML format.
- Password Gorilla
- Homepage: https://github.com/zdia/gorilla/wiki
- Exporting: Is possible, but I can't find any specific instructions...
- Conversion notes: Converts from CSV format.
- KedPM
- Homepage: http://kedpm.sourceforge.net/
- Exporting: see KedPM's README & this random note.
- Conversion notes: Not clear, but appears to work with ': ' separated value files?
- KeyPass(2)
- Homepage: http://keepass.info/
- Exporting: http://keepass.info/help/base/importexport.html
- Conversion notes: There are three scripts, select the right one from below.
- keepass2csv2pass.py: KeePassX 2+ on Mac allows export to CSV. The CSV contains the following headers: "Group","Title","Username","Password","URL","Notes"
- keepass2pass.py: For XML export from KeyPass
- keepassx2pass.py: For XML export from KeyPassX (homepage).
- KWallet
- Homepage: https://utils.kde.org/projects/kwalletmanager/
- Exporting: https://docs.kde.org/stable5/en/kdeutils/kwallet5/kwalletmanager5.html#idp70280384
- Conversion notes: Converts from XML format.
- LastPass
- Homepage: https://lastpass.com/
- Exporting: https://lastpass.com/support.php?cmd=showfaq&id=1206
- Conversion notes: Converts from CSV format. Script contains instructions to follow the steps in item #3 from the above Exporting guide. I recommend using the steps from #1, and choosing the "LastPass CSV File" format.
- password-exporter
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/password-exporter/
- Exporting: See homepage.
- Conversion notes: Converts from Password Exporter format 1.1 CSV files.
- Password Safe (pwsafe)
- Homepage: https://pwsafe.org/
- Exporting: https://en.wikipedia.org/wiki/Password_Safe#Import_and_export
- Conversion notes: Converts from TAB separated value format.
- Revelation
- Homepage: https://revelation.olasagasti.info/
- Exporting: UNCONFIRMED -> Conversion script appears to operate on the original data store. <- UNCONFIRMED
- Conversion notes: UNCONFIRMED -> Conversion script appears to operate on the original data store. <- UNCONFIRMED
- roboform
- Homepage: http://www.roboform.com/
- Exporting: Save roboform print lists (like File > Print lists > Logins) to ~/roboform_print_lists.
- Conversion notes: Run import: ./roboform2pass.rb ~/roboform_print_lists
To really drive home the point, you aren't going to migrate to Password Store, you're going to migrate to pass. All the documentation on how to migrate to Password Store, or pass, already exists. You can find it on pass' homepage. Go there for specific instructions.
- Prep a computer
- Either install pass, and ensure you get the conversion scripts
- OR Grab the conversion scripts from pass' git repo (script dir).
- You've got pgp/gpg right? That's what pass uses to keep your passwords safe. Here's a great *nix reference & a windows reference. The authoritative documentation for gpg can be found here.
- Yes, that's all a bit overwhelming at first. Heck, it can be overwhelming to people that have been using gpg for a while. But it's honestly not hard. Just slog through it up to the point that you have a public & private key pair. Then either keep reading so you can see how to export them, or google for that knowledge.
- Either locate where your current password manager is storing its data, or export the data from your current password manager. How you do that is specific to your password manager. Here's a good