KeePass/LastPass import settings
KeePass / LastPass kompatibility:
PassMan has been enhanced to accept files exported by both KeePass and LastPass.
This is done by mapping the columns of these formats to the columns of our structure.
If we keep the names of KeePass and LastPass, we have to make sure that the 2 mandatory columns for PassMan remain after the mapping.
In case of KeePass format, the Notes and Title columns must be kept,
while for LastPass the Extra and Name columns will be mandatory (because of PassMan).
For Keepass:
KeePass column | > PassMan compliance |
---|---|
Notes | >Target_type |
Title | >Target |
Username | >Account |
Password | >Password |
Group | >Group_path |
URL | >URL |
Notes | >Description |
For LastPass:
LastPass column | > PassMan compliance |
---|---|
Extra | >Target_type |
Name | >Target |
Username | >Account |
Password | >Password |
Grouping | >Group_path |
URL | >URL |
Extra | >Description |
KeePass original sample file: (Download: HERE)
Group | Title | Username | Password | URL | Notes |
Group0/Group1 | 192.168.1.2 | admin | password0 | http://host/0 | linux |
Group0/Group1 | 192.168.1.3 | admin | password1 | http://host/1 | windows |
Group0/Group2 | 192.168.1.4 | admin | password2 | http://host/2 | linux |
LastPass original sample file: (Download: HERE)
Grouping | Name | Username | Password | URL | Extra |
Group0/Group1 | 192.168.1.2 | admin | password0 | http://host/0 | linux |
Group0/Group1 | 192.168.1.3 | admin | password1 | http://host/1 | linux |
Group0/Group2 | 192.168.1.4 | admin | password2 | http://host/2 | linux |
The target type must therefore be specified, with values that can be interpreted by PassMan.
Since the LastPass and KeePass export files do not contain a column for the Target type: we have to fill the Notes field for KeePass and the Extra field for LastPass with Target type information.
In this case, the comment data exported from the source system will be lost!
If you want to keep the comments exported from the source systems, you have to modify the header of the import file!
Addition to the header of import files
To do this, we need to insert a Target_type column, which we need to fill in account-specifically.
Finally, we need to rename the other field names:
For KeePass:
Group → Group_path,
Title → Target,
Username → Account,
Notes → Description
For LastPass:
Grouping → Group_path,
Name → Target,
Username → Account,
Extra → Description