web icon indicating copy to clipboard operation
web copied to clipboard

Imports

Open kspearrin opened this issue 10 years ago • 59 comments

Add additional password manager options to the import process:

  • [x] LastPass csv
  • [x] 1Password 1pif
  • [x] KeePass
  • [x] Dashlane csv
  • [x] Keeper csv
  • [x] Enpass csv
  • [x] SafeInCloud csv
  • [x] SafeInCloud xml
  • [x] Padlock csv
  • [x] Sticky Password xml
  • [x] Firefox Password Exporter xml
  • [x] Chrome csv
  • [x] UPM csv
  • [x] Password Dragon xml
  • [x] Password Safe xml

kspearrin avatar Oct 10 '16 03:10 kspearrin

Example keepass2.30 XML database export can be found here: http://pastebin.com/NWS2u3HD

It contains three example user credentials stored in sub categories. Database also attached to this post as zip file containing one file named ExampleDatabase.kbdx. Password for this database file is: example_password

Seems like a nice software! I'm gonna keep an eye on this!

ExampleDatabase.zip

SokarCodes avatar Oct 10 '16 11:10 SokarCodes

Thank you for this. Is XML the only plaintext export option available? Something like CSV or JSON would fit into the current design much nicer.

kspearrin avatar Oct 10 '16 12:10 kspearrin

KeePassX 2 supports export to CSV

yunake avatar Oct 10 '16 17:10 yunake

Another one that may be easy to import is SafeInCloud. Currently using this from LastPass, wouldn't love to be able to import from it.

digitalknk avatar Oct 10 '16 21:10 digitalknk

+1 for SafeInCloud - here is a clean sample from their Text Export: http://pastebin.com/ArLj7xNJ and from their CSV Export: http://pastebin.com/6BtUViYQ if it helps.

jeremyw24 avatar Oct 12 '16 13:10 jeremyw24

@jeremyw24 should be very easy to add. Will add soon.

kspearrin avatar Oct 12 '16 22:10 kspearrin

@jeremyw24 @digitalknk does safe in cloud support folders at all?

kspearrin avatar Oct 12 '16 22:10 kspearrin

@kspearrin no, not quite. They use a 'tag' system so all passwords can be viewed together or by tags such as business, personal, web etc. You can see the tags on the left side in this image from their site: https://www.safe-in-cloud.com/en/images/free_desktop_app.png

jeremyw24 avatar Oct 12 '16 22:10 jeremyw24

@jeremyw24 I'm guessing that's not included in the export though? I don't see any data for that in your example.

kspearrin avatar Oct 12 '16 22:10 kspearrin

@kspearrin No, not in their CSV/TXT exports but I did just check their XML Export which does include the tags on the export. I can pastebin a sample of that if you like.

jeremyw24 avatar Oct 12 '16 23:10 jeremyw24

@jeremyw24 That's be great. I'll add csv support for now since that's very simple. Coming right up with a commit.

kspearrin avatar Oct 12 '16 23:10 kspearrin

https://github.com/bitwarden/web/commit/d17211ff864c24965dc747f4ec14caaaec7afdcf SafeInCloud csv support

kspearrin avatar Oct 12 '16 23:10 kspearrin

https://github.com/bitwarden/web/commit/85efba92e64c8807ee0080fedf52c4d094d8292f KeyPass 2.x XML support

@Juginabi

kspearrin avatar Oct 13 '16 02:10 kspearrin

@Juginabi @jeremyw24 @digitalknk SafeInCloud and KeyPass imports have been pushed live and are now available in the web vault: https://github.com/bitwarden/web/releases/tag/v1.1.0

Let me know if you have any issues with them. Thanks for the example info.

kspearrin avatar Oct 13 '16 04:10 kspearrin

@kspearrin Oh No! Something went wrong! - Error when importing safeincloud csv :(

jeremyw24 avatar Oct 13 '16 04:10 jeremyw24

@jeremyw24 is there something different about your CSV data than the file you provided me as an example? My implementation was based on of that simple example which seems to work fine.

kspearrin avatar Oct 13 '16 11:10 kspearrin

Tool looks great so far! I was trying to import from LastPass by following your documentation, but when I try to import, it says "Oh No! Something went wrong!" Anyone else having this issue with LastPass?

david-drake avatar Oct 13 '16 14:10 david-drake

Example of 1Password export in csv format.

Example csv

blindly avatar Oct 13 '16 14:10 blindly

@doubledeee See this issue: https://github.com/bitwarden/web/issues/7 . There is a fix here: https://github.com/bitwarden/web/issues/7#issuecomment-253567666

@jeremyw24 I think the above mentioned problem with LastPass is what is causing your problem too. Currently bitwarden requires a URL and Password for every site. Other managers do not require this. I will be making an update tonight that removes this requirement from bitwarden as well so all should work. In the meantime you could edit your data and add URLs and passwords to make this work.

kspearrin avatar Oct 13 '16 16:10 kspearrin

@kspearrin Negative, the sample I supplied you was the file I tried to import - I just did a new export from SafeInCloud and tried again with that but got the same error.

Will wait to see after your update, SafeInCloud has URL registered for sites but its not a requirement I did notice it exports the URL. Personally all mine have URL as I like that it grabs the favicon from the site and displays it in the password list.

jeremyw24 avatar Oct 13 '16 21:10 jeremyw24