Re: GnuPG with Perl 5.8 (or best replacement)?

[email protected] (Wiggins d'Anconia) Sat, 18 Jan 2003 12:21:26 -0500
Newsgroups perl.crypto
Organization http://danconia.org
Message-ID <[email protected]>
Randall J. Parr wrote:
<snip>
> I have "googled" 'til my fingers hurt but have been unable to discover
> any guidance as to a version of GnuPG that will install in Perl 5.8
> and/or a recommended module which can replace and/or supercede GnuPG.
> 
<snip>

It appears to be a change in teh POSIX constants, or in how strict 
collects barewords in relation to constants. I believe the fix is fairly 
small so you might contact the author, though the bigger problem may be 
newer versions of GnuPG will break the module as it uses the shared 
memory ability of gnupg which has been deprecated.

You may also want to check out Crypt::OpenPGP as it has a GnuPG 
compatibility setting, but may not work with large files on lower memory 
systems as it appeared to store the file encrypted/decrypted in memory 
rather than passing a stream, which wouldn't work in our case as we 
wanted multiple large files to be encrypt/decrypting at once.  I really 
liked the GnuPG::Interface setup and it seemed to work well in a simple 
environment, but it didn't work in our "server" environment (long story, 
dealing with fork/exec, waitpid, etc. that most people probably won't 
have problems with).

http://search.cpan.org/author/BTROTT/Crypt-OpenPGP-1.03/
http://search.cpan.org/author/FTOBIN/GnuPG-Interface-0.33/

In the end I had to grow my own using a 'system' call.  My research was 
done on Solaris 8 with GnuPG 1.0.6.

http://danconia.org