Importing and Exporting XML

SamuraiSafe supports the XML file formats generated by the original (Windows) Password Safe and the derivative Java Password Safe programs for import:

Here is a short XML sample:

xml sample

If <group> is missing, the imported entry will be added to a group called <No Group>.

The exported XML conforms to the Java Password Safe format (as in above sample).

If you have password file data in CSV format, you can find a CSV to XML conversion tool here: help.samarama.net

Note there are security implications to XML import/export as the plaintext may be stored permanently on your system inadvertently. To ensure any XML files are removed securely use rm -P on the command line to overwrite files before deleting them.