in reply to Re: Re: GnuPG tie to gpg binary gives broken pipe error in CGI output
in thread GnuPG tie to gpg binary gives broken pipe error in CGI output
I wonder how I'd go about trying to do this without using GnuPG or any other module, just the cgi talking to the binary..
Ah yes, I tried $gpg->export_keys( armor => 1, output => "keyring.pub" );
which creates a file in the appropriate place but one of zero bytes only. Permissions were cool.
Update: By cool I mean that it could write something. I could write successfully to files from the CGI. But it is not cool that only a zero byte file came out.. I tried it in different directories, and made a file chmod 777 in a 777 directory and gpg still wouldn't write to it from CGI. I have a whole application working on this system already so I don't think it is permissions.. I'm wondering if Io::Pipe will work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4:GnuPG tie to gpg binary gives broken pipe error in CGI output
by robartes (Priest) on Mar 07, 2003 at 12:09 UTC | |
|
Re: Re: Re: Re: GnuPG tie to gpg binary gives broken pipe error in CGI output
by bart (Canon) on Mar 09, 2003 at 14:03 UTC |