gpgme+gpgsm bug: fails when stdout redirected

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Mon Apr 19 15:56:09 CEST 2004


At Wed, 28 Jan 2004 20:51:32 +0100,
Albrecht Dreß wrote:
> I discovered this bug when testing the first steps of s/mime support for  
> the gnome mua balsa. When running balsa form a terminal, it works fine,  
> but when launching it from the gnome menu or panel, it fails, apparently
> because they redirect stdout/stderr for diagnostic purposes. Needless to
> say that this bug is a real blocker, and explaining a hundred times in the  
> mailing lists that people have to open a terminal and launch balsa  
> manually if they want to have s/mime support is a nightmare!

Hi,

this has been fixed in the meanwhile with the following two changes in
GPGME 0.4.6:

2004-03-23  Marcus Brinkmann  <marcus at g10code.de>

	* engine-gpgsm.c (gpgsm_new): Protect _only_ tty related code with
	isatty().  Submitted by Bernhard Herzog.

2004-03-11  Marcus Brinkmann  <marcus at g10code.de>

	* engine-gpgsm.c (gpgsm_new): Protect all tty related code with
	isatty().

Thanks,
Marcus



More information about the Gnupg-devel mailing list