First, it has been previously known, that a "strict" bugfix was to change line 267 of GnuPG.pm , to avoid the 'bareword not allowed while using strict' error
#from
my $max_fd = POSIX::sysconf( POSIX::_SC_OPEN_MAX ) || 256;
#to
my $max_fd = POSIX::sysconf( POSIX::_SC_OPEN_MAX() ) || 256;
Second, when you use versions of gpg > 1.25 (according to a debian bug report) with GnuPG.pm, you will get a decrypt error:
protocol error: expected DECRYPTION_OKAY got PLAINTEXT:
So another fix is to change GnuPG.pm, at line 742
#from
# $self->abort_gnupg( "protocol error: expected DECRYPTION_OKAY got $cmd: \n" )
# unless $cmd =~ /DECRYPTION_OKAY/;
#to
$self->abort_gnupg( "protocol error: expected PLAINTEXT got $cmd: \n" )
unless $cmd =~ /PLAINTEXT/;
If you can't get the maintainer to update it, post a fixed distribution to CPAN anyway. It won't be indexed but you could ask the modules list to transfer permissions to you. Once you have that, ask PAUSE to reindex it and you're the proud maintainer of a module. Then we all win. Also, filing tickets on RT is nice because that's the public place to write down bug reports so other people can know abou them.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
perlmonks.org content © perlmonks.org and diotalevi, wazoox, zentara
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03