Ubuntu / Linux news and application reviews.

WebUpd8 reader Kice sent us a really cool tip (and complete how-to) on importing the LastPass passwords into KeePassX. He writes:

I use KeepassX, but started using LastPass under the impression that I could easily export to KeepassX. Well that is not the case. I came across this thread http://forums.lastpass.com/viewtopic.php?f=7&t=1409 the 2nd post from someone on the LastPass team had some discouraging words. Nazariuskappertaal posted a brilliant python script. I can't be the only one looking for a solution like this, so I decided to send it your way.

Here's what you need to do:

This is actually very simple: export your LastPass passwords, convert the exported file using the lastpass2keepass.py script and finally, import the resulting .xml into KeePassX. If that sounds too complicated, here is a detailed how-to.

1. Download the LastPass2KeePass Python script from here (you can use this direct link to the script if you're not familiar with GIT).

2. Make the script executable:
chmox +x lastpass2keepass.py

3. Run the downloaded script:
python lastpass2keepass.py lastpassexport keepass.xml

Where "lastpassexport" is the file you've exported from LastPass.

4. Now simply import the resulting .xml (keepass.xml in our example) file into KeePassX.

NOTE: It supports groups but the icons will be lost.

Many thanks to Kice for all the info!