Reply to Re: gpg --decrypt

Your name:

Reply:


Posted by Alan Little on 05/07/06 17:11

Carved in mystic runes upon the very living rock, the last words of
Iv�n S�nchez Ortega of comp.lang.php make plain:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alan Little wrote:
>
>> I'm trying to operate gpg through proc_open. I can encrypt this way,
>> just fine, but when I try to decrypt I get:
>>
>> gpg: cannot open `/dev/tty': Device not configured
>>
>> Here's what I'm using; the same basic code works fine for encrypting:
>
> Calling "gpg" with proc_open or similar methods is a mess... consider
> using the PECL GPG extension - have a look at http://pecl.php.net .

Thanks for your response. Do you think it will be easier to sort out the
proc_open() method, or to figure out how to compile and install the
extension? And if I want to include this in distributed code later, does
that make a difference?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация