Importing Keepass *.kdbx file

Importing Keepass *.kdbx file

avatar

Using RDM enterprise and trying to import a keepass database with a kdbx extension. When I choose import, I get a keepass .csv but no a kdbx. We also have structure within the keepass file so may folders and entries and passwords. When exported to a .csv all of the formatting is lost.

Is this possible to import a .kdbx file and contents into RDM enterprise?

All Comments (14)

avatar

This is not available for now. We would have to implement the format but I don't know how complex this is. What formatting exactly is lost with the CSV? Do you have an example?

Regards

David Hervieux

avatar

David, if you can download keepass, create a database with an encrypted password of 1024 or higher, you can test yourself.

Our current structure is as follows;

Clients

--->Client A (FOLDER/GROUP)

------->VMware (FOLDER/GROUP)

----------->VM1 (includes Name, IP/URL, Username, Password, etc)

----------->VM2 (includes Name, IP/URL, Username, Password, etc)

--->Client B (FOLDER/GROUP)

------->VMware (FOLDER/GROUP)

----------->VM1 (includes Name, IP/URL, Username, Password, etc)

----------->VM2 (includes Name, IP/URL, Username, Password, etc)

-------->VPN (FOLDER/GROUP)

----------->IP, Username, Password

When exported to a csv everything ends up at the root;

Clients

Client A (FOLDER/GROUP)

VMware (FOLDER/GROUP)

VM1 (includes Name, IP, Username, Password, etc)

VM2 (includes Name, IP, Username, Password, etc)

Client B (FOLDER/GROUP)

VMware (FOLDER/GROUP)

VM1 (includes Name, IP, Username, Password, etc)

VM2 (includes Name, IP, Username, Password, etc)

VPN (FOLDER/GROUP)

IP, Username, Password

avatar

Hello,

Indeed, KeePass doesn't export the folder structure and I don't know why. I have made a lot of researches on the internet to found a way to export the folder structure properly from KeePass and I have not found any solution yet.

As of now, you would need to modify the CSV to put the proper folder structure prior to the import.

If you want to know how to found the proper column name for your CSV file, please consult

https://help.remotedesktopmanager.com/importcsv_strategies.htm

If you have a sample, I can help you to create a proper CSV file with the appropriate column title.

Best regards,

Jeff Dagenais

avatar

Hello,

For your information, I have the confirmation that the groups are not exported using the CSV export in KeePass

https://sourceforge.net/p/keepass/discussion/329221/thread/523f3d59/

Best regards,

Jeff Dagenais

avatar

Hello,

I had a chat with our engineering department and it's possible to import the XML format of KeePass in RDM and this will include the groups.

To do so, please go in File -> Import -> Session tab and select KeePass (.xml).

The results of the import will look like the following

Best regards,

Jeff Dagenais

avatar

After I converted to an xml

I tried to import session keepass legacy 3 options

Credentials

Login account and

Login web

For all options I get a error message

Error in xml document (2,2)

--------------- INNER -----------------------

InvalidOperationException - <KeePassFile xmlns=''> was not expected.

Since this file is encrypted and you're never prompted for a password, I didn't expect this to work. Is there another step before importing?

avatar

Hello,

How did you performed the export from KeePass? I would like to test the same steps as you in our environment.

Best regards,

Jeff Dagenais

avatar

File, Export, Choose KeePass XML (2.x)

Since you can import .xml file and wanted me to test this, I chose the only XML target as an option.

avatar

FYI..running Keepass version 2.31