Gerald Richter wrote:
> 
> >   [-
> >   use GnuPG::Tie::Encrypt;
> >
> >   tie *GNUPG, 'GnuPG::Tie::Encrypt', gnupg_path => '/usr/bin/gpg',
> >                                    armor => 1, recipient => 'Francis'
> >   or die "Error tying variable\n";
> >   print GNUPG "Hello world\n";
> >   local $/ = undef;
> >   $text = <GNUPG>;
> >   close GNUPG;
> >   untie *GNUPG;
> >   -]
> >
> 
> You need to set optRawInput (either in a block before this one, or in your
> httpd.conf) or you must escape <GNUPG> like &lt;GNUPG&gt;, otherwise Embperl
> removes the filehandle, because it "thinks" it's an unwanted html tag
> inserted by an high level html editor.
> 

In this case, optRawInput was set. I have a directive

PerlSetVar EMPBERL_OPTIONS 16

in my httpd.conf file.

Besides, if this was really the problem, why readline GNUPG doesn't work
?

Thanks for your insights


-- 
Francis J. Lacoste                   iNsu Innovations Inc.      
Vice-Président développement          Tél.: (514) 336-5544
[EMAIL PROTECTED]              Fax.: (514) 336-8128

Reply via email to