Re[2]: [PHP] System() and PGP
| From: | Maxim Derkachev | Date: | Fri, 20 Jul 2001 08:17:12 +0000 |
| Subject: | Re[2]: [PHP] System() and PGP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58858@lists.php.net to get a copy of this message | ||
Hello David,
Friday, July 20, 2001, 5:50:32 AM, you wrote:
DP> I'm using apache, so is there away to get the output sent to PHP? Someone
DP> suggested using system("pgp 2>&1"); but all I get is:
DP> Pretty Good Privacy(tm) Version 6.5.1i (c) 1999 Network Associates Inc.
DP> Export of this software may be restricted by the U.S. government. No
DP> configuration file found. Error!!! insufficient random bits
DP> Not quite what I had in mind but a step in the right direction. Any ideas?
You've got pretty error message from STDERR :)
It could not find you keyring and tried to compute a new instead.
Failed. Complained.
Look at phpclasses.upperdesign.com. There are classes for both
GPG (mine) and PGP (other guy's) encryption. I guess you'll find the
working pattern there.
--
Best regards,
Maxim Derkachev mailto:max.derkachev@books.ru
System administrator & programmer,
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
www.books.ru, www.symbol.ru