Allows you to convert csv from either LastPass export or KeePass 2.0's "export to csv" to a KeePass XML import.
Python 2.6 (sys, csv, time, datetime, itertools, re, operator, xml)
KeePassXML
python csv2keepass.py exportedCSVFile
Then import the "exportedTextFile.export.xml" into KeePassx via:
File --> Import from... --> KeePassX XML (*.xml)
python test_generator.py
python lastpass2keepass.py test_passwords.txt
Then import the "test_passwords.txt.export.xml" into KeePassx via:
File --> Import from... --> KeePassX XML (*.xml)
This is UTF-8 compliant on *nix systems, with Python 2.6.
Forked from the excellent lastpass2keepass, Anirudh Joshi, https://github.com/anirudhjoshi/lastpass2keepass. Python XML processing with lxml, John W. Shipman, http://infohost.nmt.edu/tcc/help/pubs/pylxml/. ElementTree Overview, Fredrik Lundh, http://effbot.org/zone/element-index.htm.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.