From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Iakov Davydov 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 16:09:57 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f40304398f9c7d7452055b338ad4" X-Trace: blaine.gmane.org 1507653325 17168 195.159.176.226 (10 Oct 2017 16:35:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 16:35:25 +0000 (UTC) To: 28780@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 18:35:19 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 1e1xUw-00037S-GS for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 18:35:15 +0200 Original-Received: from localhost ([::1]:36055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1xV3-0005Kg-E9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 12:35:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1xUn-0005BH-Tq for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:35:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1xUk-0003eX-Jj for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:35:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1xUk-0003eC-G6 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1xUk-0001xj-A3 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Iakov Davydov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2017 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.15076532457451 (code B ref -1); Tue, 10 Oct 2017 16:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2017 16:34:05 +0000 Original-Received: from localhost ([127.0.0.1]:60833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1xTp-0001w7-2J for submit@debbugs.gnu.org; Tue, 10 Oct 2017 12:34:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1x6w-0001IN-CE for submit@debbugs.gnu.org; Tue, 10 Oct 2017 12:10:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1x6o-0008Ik-Eo for submit@debbugs.gnu.org; Tue, 10 Oct 2017 12:10:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:32934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1x6o-0008IK-2w for submit@debbugs.gnu.org; Tue, 10 Oct 2017 12:10:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1x6m-0004T5-2D for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:10:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1x6i-00088H-8x for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:10:16 -0400 Original-Received: from mail-lf0-f49.google.com ([209.85.215.49]:54136) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1x6h-00081e-K7 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 12:10:12 -0400 Original-Received: by mail-lf0-f49.google.com with SMTP id l23so24756389lfk.10 for ; Tue, 10 Oct 2017 09:10:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6SECAxPSu0ztFyk15N7Dk6YjOXTjLo8xR56Bj8hiyqY=; b=mlVRlFP5vLmCLfuPKxPwciodF6RrG4B+ezDZZdjCLjV67vE7Djqa3dB7iEhj59dEzN d0ipQojOtetzoBKopKPDvLrgDYho+DXaegXw06R28VY83BRxwdx7R0xgMNVjV8sz8v6v kaONcnarOf4fD/313OyqYQ/M3zfjpORsv64y930I46fu4xGCd6iRtgDNFZXu52NB+4ln KKQ86hrXSULHbjUSotIkqfQ7QVgl45JSKpH8kazA7qS1+Zm3NZe7WDzzTsFkRm4qq94D zeffevTB+0D0P5CiXeQ2Z+ErEWR+wjTeKK+WmC/OXPEWTkMd70T0HdML3mZMHQ7BFi/V Oy9A== X-Gm-Message-State: AMCzsaWbJY2Yzopnc/B14E3p4cYJFcAOWKX0PuUqlIPE9xhFKmLLDhN6 VoHHK2bGQS3iQKE84HVbnrvkMAk4XRlw5VHKIA8HZw== X-Google-Smtp-Source: AOwi7QAPZbw7X/84A2R9lpKcYCQZYa1sbW65Z3EZgjKAGACPF8ll8R7K0u2QMic+43PvxBapf8NMOBB1imOqbWs42sY= X-Received: by 10.46.31.17 with SMTP id f17mr6630101ljf.102.1507651808488; Tue, 10 Oct 2017 09:10:08 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 10 Oct 2017 12:34:03 -0400 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:138186 Archived-At: --f40304398f9c7d7452055b338ad4 Content-Type: text/plain; charset="UTF-8" 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 < elpasign@elpa.gnu.org> 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. 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) ... In GNU Emacs 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-09-12 built on lcy01-32 Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.3 LTS Configured using: 'configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=25 --with-modules --with-x=yes --with-x-toolkit=gtk3 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [4 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 89919 7124) (symbols 48 19970 0) (miscs 40 701 121) (strings 32 15204 4512) (string-bytes 1 450810) (vectors 16 12462) (vector-slots 8 445519 6009) (floats 8 167 30) (intervals 56 242 1) (buffers 976 19) (heap 1024 38793 1016)) -- Iakov Davydov Postdoc, Department of Computational Biology and Department of Ecology and Evolution, University of Lausanne Swiss Institute of Bioinformatics --f40304398f9c7d7452055b338ad4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When installing a package (e.g. auctex), an error mes= sage appears:
Failed to verify signature auctex-11.91.0.tar.sig:<= /div>
Bad signature from 474F05837FBDEF9B GNU ELPA Signing Agent <elpasign@elpa.gnu.org>
<= div>Command output:
gpg: [don't know]: indeterminate length f= or 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 &= quot;GNU ELPA Signing Agent <el= pasign@elpa.gnu.org>" [unknown]


This only happens if the following line in my .emacs:
(s= etq-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.

In fact, this or similar problem seems to be quite c= ommon, but often
cannot be reproduced.
1. emacs bug#229= 71



In GNU Emacs = 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
=C2=A0of 2017-0= 9-12 built on lcy01-32
Windowing system distributor 'The X.Or= g Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.3 LTS

<= div>Configured using:
=C2=A0'configure --build=3Dx86_64-linux= -gnu --prefix=3D/usr
=C2=A0'--includedir=3D${prefix}/include&= #39; '--mandir=3D${prefix}/share/man'
=C2=A0'--infodi= r=3D${prefix}/share/info' --sysconfdir=3D/etc --localstatedir=3D/var
=C2=A0--disable-silent-rules '--libdir=3D${prefix}/lib/x86_64-l= inux-gnu'
=C2=A0'--libexecdir=3D${prefix}/lib/x86_64-linu= x-gnu' --disable-maintainer-mode
=C2=A0--disable-dependency-t= racking --prefix=3D/usr --sharedstatedir=3D/var/lib
=C2=A0--progr= am-suffix=3D25 --with-modules --with-x=3Dyes --with-x-toolkit=3Dgtk3
<= div>=C2=A0'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
= =C2=A0-Werror=3Dformat-security' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY= _SOURCE=3D2'
=C2=A0'LDFLAGS=3D-Wl,-Bsymbolic-functions -W= l,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Impo= rtant settings:
=C2=A0 value of $LC_MONETARY: en_US.UTF-8
=C2=A0 value of $LC_NUMERIC: en_US.UTF-8
=C2=A0 value of $LC_T= IME: en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2= =A0 locale-coding-system: utf-8-unix

Major mode: L= isp Interaction

Minor modes in effect:
= =C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
= =C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 = file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: = t
=C2=A0 transient-mark-mode: t

Recent m= essages:
For information about GNU Emacs and the GNU system, type= C-h C-a.
Making completion list... [4 times]

Load-path shadows:
None found.

Fea= tures:
(shadow sort mail-extr emacsbug message dired format-spec = rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-dec= ode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils m= ailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns he= lp-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils t= ime-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-= hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar= dnd fontset image regexp-opt
fringe tabulated-list newcomment el= isp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow t= imer select scroll-bar mouse jit-lock
font-lock syntax facemenu f= ont-core frame cl-generic cham georgian
utf-8-lang misc-lang viet= namese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932= hebrew greek romanian slovak czech european
ethiopic indian cyri= llic chinese charscript case-table epa-hook
jka-cmpr-hook help si= mple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces= cus-face macroexp files text-properties overlay
sha1 md5 base64 = format env code-pages mule custom widget
hashtable-print-readable= backquote dbusbind inotify dynamic-setting
system-font-setting f= ont-render-setting move-toolbar gtk x-toolkit x
multi-tty make-ne= twork-process emacs)

Memory information:
((conses 16 89919 7124)
=C2=A0(symbols 48 19970 0)
=C2= =A0(miscs 40 701 121)
=C2=A0(strings 32 15204 4512)
=C2= =A0(string-bytes 1 450810)
=C2=A0(vectors 16 12462)
=C2= =A0(vector-slots 8 445519 6009)
=C2=A0(floats 8 167 30)
=C2=A0(intervals 56 242 1)
=C2=A0(buffers 976 19)
=C2= =A0(heap 1024 38793 1016))

--
<= div dir=3D"ltr">
Iakov Davydov
Postdoc, De= partment of Computational Biology and Department of Ecology and Evolution, = University of Lausanne
Swiss Institute of Bioinformatics
--f40304398f9c7d7452055b338ad4--