deutsch

Zaurus

To store password information on my Zaurus I'm using keyring. It has an export/import functionality for XML files. But for first import or to edit large amount of data it's useful to have plain text. For that are the two following Perl scripts.

Keyring2csv

Perl script to convert a keyring XML file into a tab separated text file.

Usage:

golz@linux:~/zaurus/keyring> perl keyring2csv.pl keyring.xml keyring.csv

You can now modify the CSV file in your favourite editor, e.g. OpenOffice.

csv2keyring

The way back from plain text to XML works in the same manner.

Usage:

golz@linux:~/zaurus/keyring> perl csv2keyring.pl keyring.csv keyring.xml

After creating the modified XML you can put in on your Zaurus and import it into keyring. That' all.

Don't forget to delete the XML and CSV files, because they are unencrypted!

Precondition

Perl an the module XML::Simple must be installed on your PC.

Installation

Create two files keyring2.csv and csv2.keyring on your PC and copy the scripts inside.

Download

keyring2csv.pl
csv2keyring.pl

Links

Keyring: http://www.scrypt.net/~celer/kweb/

Perl : http://www.perl.org/

XML::Simple: http://search.cpan.org/~grantm/XML-Simple-2.12/lib/XML/Simple.pm