Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to XML option for compatibility with KeePassX #3

Open
graysky2 opened this issue Jun 14, 2015 · 1 comment
Open

Export to XML option for compatibility with KeePassX #3

graysky2 opened this issue Jun 14, 2015 · 1 comment

Comments

@graysky2
Copy link

I know users can currently dump out the database to a txt file but it would be very powerful if an export feature KeePassX XML format could be added. Below an example xml file with the minimum entries needed.

Mappings:
pwsafe = keepassx

uuid= doesn't translate
group= group>title
name= entry>title
login= entry>username
passwd= entry>password
notes= entry>comment

Example pwsafe export:

# passwordsafe version 2.0 database"
uuid    group   name    login   passwd  notes
"123d9-daf-df-3423423"  "retail"    "amazon"    "myamazonuser"  "sjfJ849"   "superfluous comment"
"4599d934-dsfs-324" "retail"    "netflix"   "netflixuser"   "dj3W$#"    ""
"4kdfkd-434-jj" "email" "gmail" "mygmail"   "dfkpass"   ""

Example xml in keepassx xml format for export:

<!DOCTYPE KEEPASSX_DATABASE>
<database>
 <group>
  <title>Internet</title>
  <entry>
   <title>github</title>
   <username>githubusername</username>
   <password>githubpassword</password>
   <comment>optional comment</comment>
  </entry>
 </group>
 <group>
  <title>retail</title>
  <entry>
   <title>amazon</title>
   <username>username</username>
   <password>myamazonpw</password>
  </entry>
 </group>
 <group>
  <title>retail</title>
  <entry>
   <title>netflix</title>
   <username>username</username>
   <password>mynfxpw</password>
  </entry>
 </group>
</database>
@graysky2 graysky2 changed the title Import/export to XML option for compatibility with KeePassX Export to XML option for compatibility with KeePassX Jun 15, 2015
@graysky2
Copy link
Author

Here is a python script that will accomplish this: https://github.com/mauritiusdadd/pwsafe2keepassx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant