Greetings,
I am writing a script that takes form input and encrypts it using Crypt::GPG,
and emails it using Mail::Sendmail. I am using CGI::Param as my parser.
Here is my problem. I am able to run the script fine from the shell, but
am unable to run it through Apache. The only error I am receiving is "Premature
end of script headers" in the Apache error log, which leads me to believe
that it is a permissions issue. I think the problem might be due to Apache
running as nobody, and it does not have rights to my public keys, but if
that is the case, I am not sure how to get around that without either signing
the key as nobody, and adding it to the nobody user keyring or, giving everyone
access to my ring. I cannot however even generate a key-pair as nobody,
since nobody doesn't really have a place to store it. Any help would be
greatly appreciated.
Thanks.
Free, encrypted, secure Web-based email at www.hushmail.com