From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A35D86DE1079 for ; Sat, 9 Feb 2019 16:00:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.033 X-Spam-Level: X-Spam-Status: No, score=-0.033 tagged_above=-999 required=5 tests=[AWL=-0.043, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rBOWu-YrDpAG for ; Sat, 9 Feb 2019 16:00:54 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 4E6536DE1055 for ; Sat, 9 Feb 2019 16:00:54 -0800 (PST) Received: from fifthhorseman.net (unknown [IPv6:2001:470:1f07:60d:5407:1cff:fe30:9bdf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id D6CD9F99A; Sat, 9 Feb 2019 19:00:51 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 6303D20436; Sat, 9 Feb 2019 18:57:19 -0500 (EST) From: Daniel Kahn Gillmor To: David Bremner , Notmuch Mail Subject: Re: [PATCH] emacs: Invoke gpg with --batch and --no-tty In-Reply-To: <87k1i83bu3.fsf@tethera.net> References: <20190209173437.7970-1-dkg@fifthhorseman.net> <87k1i83bu3.fsf@tethera.net> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxXbAMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJcQr+dAhsMBQkB4TOAAAoJEPIGkReQOOXGe/cBAPlek5d9xzcXUn/D kY6jKmxe26CTws3ZkbK6Aa5Ey/qKAP0VuPQSCRxA7RKfcB/XrEphfUFkraL06Xn/xGwJ+D0hCw== Date: Sat, 09 Feb 2019 18:57:18 -0500 Message-ID: <87zhr4wm5d.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 00:00:55 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat 2019-02-09 17:12:52 -0400, David Bremner wrote: > 1) I only skimmed the debian bug, but I hard the impression Werner said > that --batch implied --no-tty? from gpg(1): --no-tty Make sure that the TTY (terminal) is never used for any outp= ut. This option is needed in some cases because GnuPG someti= mes prints warnings to the TTY even if --batch is used. So i think that --batch does not imply --no-tty. Why GnuPG might insist on causing an error if it has no tty in those cases, i can't really justify, but there it is. > 2) How urgent is this? It will probably be at more than month before the > next notmuch release, due to some sphinx issues that need some > attention. Should we do a 0.28.2 point release ? I'd say basically if > you think it's worth patching for debian we should do the point release > for everyone. This is one part of a two-part bug, both of which i bear some responsibility for. The other part is the aforementioned https://bugs.debian.org/913614, the fix for which is already in both testing and stretch-proposed-updates. Luckily, if *either* GnuPG or notmuch-emacs is fixed, the problem goes away. But both fixes are in principle the right thing to do, so please queue this for the notmuch mainline at least. i don't think there's any urgency here from a debian perspective, since we're unlikely to get anything fixed before the next point release anyway, and the other leg of the bug is already solved in the next point release. If there are other cleanups you're thinking about trying to get into debian stretch's next point release, by all means fold this one in, though. Other operating systems or vendors might want to include this patch if they're running some version of GnuPG that makes the same mistakes as https://bugs.debian.org/913614, however. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXF9o3wAKCRB2GBllKa5f +E+JAQC6EqhP8A6jkKRpZ6+F0qEKsDBtR5aqjZZLQS9EB1xW1wD5AfD7f5CVJpWO BOeRe4lofqoBYIU9Kmb8XLPb7fBkngk= =IZxN -----END PGP SIGNATURE----- --=-=-=--