GPG status msgs for Passphrase

Bernhard Reiter bernhard at intevation.de
Wed May 4 09:39:06 CEST 2011


Am Montag, 2. Mai 2011 14:50:13 schrieb Sebastian:
> Im trying to decrypt using --batch --status-fd=1 and reading from the
> output, waiting for the NEED_PASSPHRASE msg. The problem is that this msg
> never appears until the pipe is closed or the passphrase is provided. In
> fact not even a single msgs is displayed until the passphrase is good or
> fails.
> It looks like the output hangs until the passphrase is provided, and so the
> output is flushed. This is really unconvenient since the goal of this
> status msgs is to be able to interact with GPG by reading its output msgs.
>
> any ideas on this? someone else having the same issue? im running GPG's
> portable version 1.4 on windows.

An alternative is to use gpgme and a more modern GnuPG in Windows,
e.g. the version provided by Gpg4win 2.1.0. Gpgme is designed to take care of 
the process handling of running gpg even on Windows.

-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Deputy Coordinator Germany: fsfe.org. Board member: www.kolabsys.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20110504/92d1173c/attachment-0001.pgp>


More information about the Gnupg-devel mailing list