You are here: Re: gpg --decrypt « PHP Programming Language « IT news, forums, messages
Re: gpg --decrypt

Posted by Toby Inkster on 05/07/06 16:54

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

GPG doesn't read the pass phrase from STDIN -- it reads it from the
terminal. It might seem like a minor difference, but the effect is that
you can't pass the passphrase in via STDIN.

You could try including the options "--no-tty --passphrase-fd 0".

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this 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

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