I have a perl wrapper around gpg for use within a web app. It changes
its 'EUID' (Effective UserID) early in the script.
From there, it attempts to run
/usr/local/bin/gpg --list-public-keys
My test script:
#!/usr/bin/perl
$ENV{'GNUPGHOME'} = '/home/username/.gnupg';
my $uid =
Might I suggest using a pre-implemented perl solution?
Crypt::OpenPGP:
http://search.cpan.org/~btrott/Crypt-OpenPGP-1.03/lib/Crypt/OpenPGP.pm
GnuPG::Interface: http://search.cpan.org/~ftobin/GnuPG-Interface-0.33/
And also, GPG, Mail::GPG, Crypt::GPG, or Mail::GnuPG.
On Mon, Jul 31, 2006 at 05:21:44PM -0700, Marcel Chastain - Security
Administration wrote:
Yeah, I already have a workaround in place, I just wanted to report it
to the community/developers. This is a new bug, and I think they'd be
interested in why it's happening... Perhaps the gnupg-devel