=================================================================== RCS file: /cvs/palm/Palm-Keyring/examples/example1.pl,v retrieving revision 1.1 retrieving revision 1.6 diff -u -r1.1 -r1.6 --- palm/Palm-Keyring/examples/example1.pl 2006/01/26 20:54:19 1.1 +++ palm/Palm-Keyring/examples/example1.pl 2006/11/10 04:21:17 1.6 @@ -1,35 +1,36 @@ -#!/usr/bin/perl -use strict; -use warnings; -use diagnostics; - -use Palm::PDB; -use lib 'lib'; -use Palm::Keyring; - -my $pdb = new Palm::PDB; - -use YAML; - -#print Dumper $pdb - -$pdb->Load("Keys-GtkrNEW.PDB"); -$pdb->Decrypt('12345'); - -#-------------------------------------------------- -# my $new_record = $pdb->append_Record(); -# -# $new_record->{plaintext} = { -# name => 'Test3', -# account => 'anothertestaccount', -# password => 'adifferentmypass', -# description => 'now that really roxorZ!', -# }; -# -#$pdb->Encrypt('12345'); -# -#$pdb->Write("Keys-GtkrNEW.PDB"); -#-------------------------------------------------- - -print Dump $pdb; - +#!/usr/bin/perl +use strict; +use warnings; +use diagnostics; + +use lib 'lib'; +use Palm::Keyring; + +my $pdb = new Palm::Keyring; + +use YAML; + +#print Dumper $pdb + +$pdb->Load("Keys-GtkrNEW.PDB"); +#$pdb->Load("Keys-Gtkr.PDB"); +#$pdb->Load("k:/working/Keys-Gtkr.PDB"); +$pdb->Decrypt('Password'); + +#-------------------------------------------------- +# my $new_record = $pdb->append_Record(); +# +# $new_record->{plaintext} = { +# name => 'Test3', +# account => 'anothertestaccount', +# password => 'adifferentmypass', +# description => 'now that really roxorZ!', +# }; +# +#$pdb->Encrypt('12345'); +# +#$pdb->Write("Keys-GtkrNEW.PDB"); +#-------------------------------------------------- + +print Dump $pdb; +