Skip to content

Latest commit

 

History

History
88 lines (54 loc) · 4.69 KB

README.md

File metadata and controls

88 lines (54 loc) · 4.69 KB

KeePass-Passwork-CSV-Exporter

Exports credentials from KeePass via CSV for Passwork including folders and notes.

Functionality

Exports all credentials from KeePass in CSV for Passwork CSV-Import. Includes folders, subfolders and notes. Attachements and additional data are not possible via the CSV Import for Passwork. This might work with the JSON import/export of Passwork, as this supports all fields I think but is not part of this CSV exporter. Note: Empty folders are not exported.

Supported Fields

Following data will be exported - as supported by the CSV importer of Passwork:

  • Name
  • Login
  • Password
  • Url
  • Note
  • Folder

How to use

Install the Plugin

Copy the PassworkExport.dll or PassworkExport-1.0.0-Source.plgx file into the KeePass plugin folder, (re)start KeePass. For more details have a look at: https://keepass.info/help/v2/plugins.html.

Export Data from KeePass

Security Advice: Before you export your data into an unencrypted csv for transfer to another password manager, take some precautions like using a secured virtual storage (e.g. https://github.com/veracrypt/VeraCrypt) or similar and please don't forget to remove the data once imported, also from the 'Trash Bin'.

  1. Go to File -> Export

image

  1. You might have to scroll down in the list of available plugins

image plugin dialog list of KeePass

  1. Select the "Passwork CSV Format"

  2. Provide an target file in the Destination File Dialog below.

image destination file dialog for export

  1. Hit OK and there you go - all your credentials are now exposed in an unencrypted(!) CSV file on the target destination provided.

Don't forget to delete (also in the Trash Bin!) after importing!

Import Data into Passwork 5.x

Note: Import validated with and screenshots are from version 5.x - so 4.x might look different or doesn't work as expected.

Note: In case something goes wrong or doesn't work as expected: it might advisable to import the data into a separate folder first. All the folders from the CSV will be created in the same structure as in KeePass before.

  1. Choose the vault and folder to get the data imported into and open the Import Data dialog.

image

  1. Default selection might be JSON -> click on CSV to open the CSV import dialog

image import dialog

  1. Choos a delimiter (Auto and ;) should both work and mark "Skip the first line"

image selection of import settings

  1. Klick Next and map all the columns - the should be in the same order as Passwork expects them (eventually they can automate this in the future! Passwork - do you here me? ;)

image field mapping dialog image mapping a field

  1. After mapping the fields it should look something like this:

image after mapping fields

  1. Hit next, check the preview and hit next again to get to the confirmation of the import target:

image review mapped data

  1. you might change the import target in this step again to another destination or confirm the target (sometimes you have to refresh the client side data):

image confirm/select your import target

  1. and there you go:

image folders after import inside passwork image entries in one folder after import

How to compile yourself

  1. Checkout the code
  2. Update the KeePass.exe Reference
  3. Build

Credits

Based on the theVault CSV exporter for KeePass from Bruce NZ https://keepass.info/plugins.html#thevault - source code available via keepass site.