> 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
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'?
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