Re: Signing text in PHP using GPG
| From: | William X Walsh | Date: | Tue, 16 Apr 2002 23:39:22 +0000 |
| Subject: | Re: Signing text in PHP using GPG | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93268@lists.php.net to get a copy of this message | ||
Tuesday, April 16, 2002, 4:07:02 PM, William X Walsh wrote:
> I have a set of data, that needs to be GPG signed before sending the
> data to a remote server.
> Has anyone already done something like this in PHP, that I could use
> for reference?
If this is not possible, I have written a perl script using
GPG::Interface to sign the text, and return the signed text.
I presume I can use passthru to call this script, but is there a way
to pass the multi-line text to the perl script using stdin rather than
being forced to write out a file and import the file into the perl
script?
All the examples I've found write out the data to a file, and then
have the called program read in the file, I'd prefer to just pass it
on STDIN if possible.
--
Best regards,
William X Walsh <william@userfriendly.com>
--