chinesebob has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use warnings; use GPG; my($passphrase,$key_id) = ("passphrase","KeyName"); my $gpg= new GPG(homedir=>"/home/chinesebob/.gnupg"); die $gpg->error() if $gpg->error(); my $file=$gpg->decrypt_verify($passphrase,"try.pgp");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GPG decryption
by Paladin (Vicar) on Jan 22, 2003 at 21:34 UTC | |
by chinesebob (Initiate) on Jan 23, 2003 at 12:02 UTC | |
by snookmz (Beadle) on Nov 16, 2004 at 21:28 UTC |