From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28780: 25.3; Bad signature from GNU ELPA whe coding-system-for-read is utf-8 Date: Tue, 10 Oct 2017 19:46:57 +0300 Message-ID: <83sherosqm.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1507654122 18592 195.159.176.226 (10 Oct 2017 16:48:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 16:48:42 +0000 (UTC) Cc: 28780@debbugs.gnu.org To: Iakov Davydov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 18:48:36 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1xhj-0002r7-M9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 18:48:27 +0200 Original-Received: from localhost ([::1]:36098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1xhp-0008QL-Gv for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 12:48:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1xhd-0008QE-S9 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1xha-00026x-Ff for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:48:21 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1xhK-0001zQ-KZ for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:48:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1xhK-0002HB-DO for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2017 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28780-submit@debbugs.gnu.org id=B28780.15076540578713 (code B ref 28780); Tue, 10 Oct 2017 16:48:02 +0000 Original-Received: (at 28780) by debbugs.gnu.org; 10 Oct 2017 16:47:37 +0000 Original-Received: from localhost ([127.0.0.1]:60848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1xgo-0002GL-EG for submit@debbugs.gnu.org; Tue, 10 Oct 2017 12:47:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1xgk-0002G2-E4 for 28780@debbugs.gnu.org; Tue, 10 Oct 2017 12:47:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1xgZ-0001d2-Ar for 28780@debbugs.gnu.org; Tue, 10 Oct 2017 12:47:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1xgZ-0001cf-74; Tue, 10 Oct 2017 12:47:15 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2563 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e1xgW-0007Ey-Kz; Tue, 10 Oct 2017 12:47:13 -0400 In-reply-to: (message from Iakov Davydov on Tue, 10 Oct 2017 16:09:57 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138187 Archived-At: > From: Iakov Davydov > Date: Tue, 10 Oct 2017 16:09:57 +0000 > > When installing a package (e.g. auctex), an error message appears: > Failed to verify signature auctex-11.91.0.tar.sig: > Bad signature from 474F05837FBDEF9B GNU ELPA Signing Agent > Command output: > gpg: [don't know]: indeterminate length for invalid packet type 14 > gpg: Signature made Tue 25 Jul 2017 11:10:02 PM CEST using DSA key ID 7FBDEF9B > gpg: BAD signature from "GNU ELPA Signing Agent " [unknown] > > This only happens if the following line in my .emacs: > (setq-default coding-system-for-read 'utf-8) > > Steps to reproduce: > > 1. Run emacs -Q > 2. Execute `(setq-default coding-system-for-read 'utf-8)` (e.g. go to > scratch, type this command, type C-x C-e). > 3. M-x package-install auctex > 4. Error message appears. > > If step #2 is skipped, installation happens without an error. Why do you need to do step 2? You shouldn't do that, especially when using commands that read binary files. coding-system-for-read is for temporarily forcing specific decoding of specific text, and should otherwise be left alone. And you definitely shouldn't change its default value. IOW, this sounds like a clear cockpit error. Am I missing something? > In fact, this or similar problem seems to be quite common, but often > cannot be reproduced. > 1. emacs bug#22971 > 2. https://emacs.stackexchange.com/questions/10046 > 3. https://github.com/jacksonrayhamilton/tern-context-coloring/issues/4 > 4. https://github.com/ananthakumaran/tide/issues/51 > 5. https://github.com/syl20bnr/spacemacs/issues/3669 > 6. https://www.reddit.com/r/emacs/comments/6t21lb/ > 7. https://www.linux.org.ru/forum/security/13718006 (In Russian) I see no clear evidence that these reports are due to setting coding-system-for-read.