garrison has asked for the wisdom of the Perl Monks concerning the following question:
now throws:my $gpg = new Crypt::GPG; $gpg->gpgbin('/usr/bin/gpg'); $gpg->secretkey('0x2F7B366A'); $gpg->passphrase('test'); $gpg->debug(1); # Works my @encrypted = $gpg->encrypt('This is a test', 'devnull@codefix.net') +; # Breaks my ($cleartxt, $signature) = $gpg->verify(\@encrypted); print "$signature\n\n$cleartxt\n";
Am I doing something wrong or is 1.52 broken?Can't use string ("0x2F7B366A") as a HASH ref while "strict refs" in u +se at /usr/lib/perl5/vendor_perl/5.8.6/Crypt/GPG.pm line 176.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Crypt::GPG error
by kwaping (Priest) on Aug 30, 2005 at 15:28 UTC | |
by jfroebe (Parson) on Aug 30, 2005 at 17:07 UTC | |
by kwaping (Priest) on Aug 30, 2005 at 17:16 UTC | |
by Anonymous Monk on Aug 31, 2005 at 05:20 UTC | |
by garrison (Scribe) on Aug 31, 2005 at 05:26 UTC |