Re: GnuPG module producing empty files

NWB <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
I had this problem recently and found it was due to mod_perl running as user
"apache" which does not have a home directory in the same way that the
script running under cgi-bin did. Use of homedir in the
$gnupg->options->hash_init line sorted this out though. I guess an
environment variable GNUPGHOME may be a better way to go when I've finished
with this.


Laurent MARTIN wrote:
> 
> Hi!
> 
> I've recently upgraded one of my old website to mod_perl  
> (ModPerl::PerlRun) and I'm not able to make GnuPG (0.10) work  
> properly :/ As soon as I try to encrypt a plaintext file, I get an  
> empty encrypted file. See below what I get in error log with the  
> 'trace' option set to true:
> protocol error: expected SHM_GET_XXX got \n at /usr/lib/perl5/ 
> site_perl/5.8.5/GnuPG.pm line 154
> 
> Any clue? Thanks in advance :)
> 
> -- 
> Laurent MARTIN
> 

-- 
View this message in context: http://old.nabble.com/GnuPG-module-producing-empty-files-tp25909395p34789227.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.