This is a quick-and-dirty Java implementation for a KeePass password database into a Keyring PDB.
For now, the input is not a native KeePass database, but a KeePassX text export, which is imported into an existing Keyring PDB, replacing its content by the content of the KeePass database.
KKConvert uses the source code from KeyringEditor to access the Keyring PDB.
The source code of KKConvert is available under the GPLv2:
javac KKConvert.javaKeys-Gtkr.pdb; if
you are using J-Pilot, you're likely
looking for ~/.jpilot/backup/Keys-Gtkr.pdbjava KKConvert <keepass text db> <keyring
PDB>Keys-Gtkr.pdb to your PDAThis program comes with no warranty whatsoever. You are strongly advised
to have a backup of your PDA data, and especially of your
Keys-Gtkr.pdb before you run KKConvert. If you have non-ASCII
characters in your password database, there is a chance that the PDB
generated will be corrupted, and that it will make your PDA reset. Or maybe
your PDA's memory could be wiped out completely, though this should not
happen.
Also, KKConvert will first empty the contents of your Keyring PDB, and then populate it with the content of the KeePass database. In other words, you will loose the contents of your Keyring PDB.
You have been warned.
See limitations for details.
I coded KKConvert as I wanted to have access to my KeePass database on my Palm quickly, so it has a few security gotchas.
KKConvert currently takes a text export (i.e. plain text) of a password database as input. This is obviously not ideal, as it means that, for the duration of the conversion operation, your passwords are unprotected on a device. Delete the text export as soon as the conversion is completed! The next step will be for KKConvert to read the database directly.
The password for your KeyRing PDB will be asked from you and will appear in the terminal. I need to figure out how to suppress echoing in a Java program. Again, this is currently a quick-and-dirty hack.
I have experienced issues with non-ASCII characters. The resulting PDBs were apparently corrupted and Keyring made my Treo crash. I currently have a "normalization" function which gets rid of accents and other non-ASCII characters. So the limitations are currently as follow:
Please send feedback to hugo@larve.net.