"gpg --status-fd X" does not work for Windows 2000

Richard Y. Kim ryk at dspwiz.com
Wed Feb 21 01:40:04 CET 2001


"gpg --status-fd X" does not work for Windows 2000 if X is anything
other than 1 or 2, e.g., if X is 3. The following illustration shows
that if X is 1 (i.e., stdout), then the expected status output line
starting with "[GNUPS:]" is output to stdout. If X is 3, then no
status information is output.

bash-2.04$ gpg --decrypt --status-fd 1 >foo < /dev/null
gpg: decrypt_message failed: eof
bash-2.04$ cat foo
[GNUPG:] NODATA 2
bash-2.04$ rm foo
bash-2.04$ gpg --decrypt --status-fd 3 3>foo < /dev/null
gpg: decrypt_message failed: eof
bash-2.04$ cat foo
bash-2.04$ 

I discovered above problem while trying to get mailcrypt 3.5.5 to work
under these conditions: 

	Windows 2000
	GNU Emacs 20.7.3 (this is the latest version)
	GPG 1.0.4 (this is the latest version)
          <ftp://ftp.gnupg.org/pub/gcrypt/binary/gnupg-w32-1.0.4-1.zip>

Mailcrypt <http://mailcrypt.sourceforge.net> depends on
"--status-fd 3" which does not work for Windows 2000.




More information about the Gnupg-devel mailing list