Re: Error decrypting in message using gpg in modperl script

2001-08-09 Thread Benjamin Trott
> Anyone know why the decryption fails using gpg when run in a perl script in > a browser but works if run in a shell? Here's the code sample: > > my $cipher = < -BEGIN PGP MESSAGE- > > pvbhS8Q22VYPqn+4sitEw0bgTmDhPo6rruzsSJxCHLBUyTPrYaPlmelF2iADCpKD > IeqIOK0KZwRMHrXrlFir37i+2NzmNzcF4k

Re: Error decrypting in message using gpg in modperl script

2001-08-09 Thread Ron Savage
Chris See below. Cheers Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html > $PGP = "/usr/bin/gpg --no-secmem-warning -dar"; Ahhh. Does the web server, running as 'nobody' (perhaps) have permission to run 'gpg'?

Error decrypting in message using gpg in modperl script

2001-08-09 Thread Chris Pizzo
Anyone know why the decryption fails using gpg when run in a perl script in a browser but works if run in a shell? Here's the code sample: my $cipher = <; close(PGP_READ); # Read any error messages. @errs = ; close(PGP_ERR); print "@errs"; This