Edit report at http://pear.php.net/bugs/bug.php?id=17838&edit=1
ID: 17838
Comment by: mejo
Reported By: jonas at freesources dot org
Summary: Operations with passphrase doesn't work with GnuPG 2.x
Status: Open
Type: Bug
Package: Crypt_GPG
Package Version: SVN
PHP Version: Irrelevant
New Comment:
Any news on this bug?
Previous Comments:
------------------------------------------------------------------------
[2010-09-02 08:35:08] alec
Description:
------------
GnuPG 2.0 invokes pinentry binary with curses or X interface for
passphrase input. It is not handled by Crypt_GPG, which means script
hangs when you try to e.g. decrypt a message and secret key requires
passphrase.
I've tried to use --passphrase-fd and --batch, but it looks like gpg
waits for passphrase input before returning NEED_PASSPHRASE status.
------------------------------------------------------------------------