Palm::Keyring

Handler for Palm Keyring databases
Download

Palm::Keyring Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Andrew Fresh
  • Publisher web site:
  • http://search.cpan.org/~andrew/

Palm::Keyring Tags


Palm::Keyring Description

Handler for Palm Keyring databases Palm::Keyring is a helper Perl class for the Palm::PDB package. It parses Keyring for Palm OS databases. See has the standard Palm::PDB methods with 2 additional public methods. Decrypt and Encrypt.It currently supports the v4 Keyring databases as well as the pre-release v5 databases. I am not completely happy with the interface for accessing v5 databases, so any suggestions on improvements on the interface are appreciated.This module doesn't store the decrypted content. It only keeps it until it returns it to you or encrypts it.SYNOPSIS use Palm::PDB; use Palm::Keyring; my $pass = 'password'; my $file = 'Keys-Gtkr.pdb'; my $pdb = new Palm::PDB; $pdb->Load($file); foreach (0..$#{ $pdb->{records} }) { # skip the password record for version 4 databases next if $_ == 0 && $pdb->{version} == 4; my $rec = $pdb->{records}->; my $acct = $pdb->Decrypt($rec, $pass); print $rec->{name}, ' - '; if ($pdb->{version} == 4 || $pdb->{options}->{v4compatible}) { print ' - ', $acct->{account}; } else { foreach my $a (@{ $acct }) { if ($a->{label} eq 'account') { print ' - ', $a->{data}; last; } } } print "\n"; } Requirements: · Perl


Palm::Keyring Related Software