Read on to find out how to run the script to generate your category and password import files from your Keepass file.
All users can import passwords into their Personal Space or Shared Spaces.
Importing from your browsers, password managers, or CSV file : using the import module
Consult the following documentation to know the import procedure : How to import passwords ?
Import from Keepass : use a script to generate your import files
The script below will allow you to easily migrate your data from Keepass to LockSelf by generating, from a kdbx file, two CSV files containing all your categories and passwords.
The generated CSV files can then be used directly in LockSelf to import and create your categories and passwords.
To learn more about importing categories or passwords, consult the following documentations :
Retrieving the script
To recover the script, contact your LockSelf account manager.
Replacement of script variables
Line 55 :
kp = PyKeePass('example.kdbx', password='xxxxxxx')
- Step 1 : replace example.kdbx with the name of your file
- Step 2 : replace xxxxx with the master password of your Keepass file
Running the script
Open a command terminal.
- Step 2 : Run the following command:
If the PyKeePass library is not installed on your computer, you can install it via pip with the following command :
pip install PyKeePass
- Step 2 : Choose the export mode :
If your export is for your Shared Space (and not Personal Space) type « Public » and press Enter. If it is for the Personal Space, ignore it, and press Enter. A CSV file containing your passwords will be generated.
If you also want to retrieve the Keepass categories from your Shared Space, also type « Public ». A CSV file containing your shared categories will also be generated.