From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#35739: Bad signature from GNU ELPA Date: Wed, 29 May 2019 16:07:10 -0400 Message-ID: References: <87mujog0ao.fsf@gmail.com> <837easa178.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="145868"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35739@debbugs.gnu.org, Richard Copley To: Eli Zaretskii , Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 22:08:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hW4rr-000bla-Ji for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 22:08:11 +0200 Original-Received: from localhost ([127.0.0.1]:60033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW4rp-0001hg-VK for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 16:08:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW4rj-0001hM-Sc for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 16:08:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW4ri-0001DI-Ps for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 16:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW4ri-0001DA-Lx for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 16:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hW4ri-0001Fv-G3 for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 May 2019 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35739 X-GNU-PR-Package: emacs Original-Received: via spool by 35739-submit@debbugs.gnu.org id=B35739.15591604504781 (code B ref 35739); Wed, 29 May 2019 20:08:02 +0000 Original-Received: (at 35739) by debbugs.gnu.org; 29 May 2019 20:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:59991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hW4rC-0001F2-4K for submit@debbugs.gnu.org; Wed, 29 May 2019 16:07:30 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hW4rA-0001Eq-Ii for 35739@debbugs.gnu.org; Wed, 29 May 2019 16:07:28 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D7AF51011C4; Wed, 29 May 2019 16:07:22 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5EE5B101138; Wed, 29 May 2019 16:07:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1559160441; bh=wUTeeKD2k3wwFgK0cv5y0DPeByZ94GIDiZIe7/etSaY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=pOXn5JwzQHkpSzhJMHOVvk08WKU/CfJPgEF3LqF962ypnMKXuVHOsbH6W4H8UThZs tRQ9UCBNuhWqG9tOv6VjL2PS/2xEW4cGnyhgw2Ul966GIqQYILPJFN3b44Q9yWLjZ5 dZx3QV73ZO4DmTMdZ4WxXR2jV0tBR/ONQ4uOqkWmBT4VHoTxZ+0SoeUAbArv67HzpY knr2oFHVmev1Y7Qrf4TuDD6xUeVJSRUtvNFtgY0gLNgDoJrMXcePENlVYrKGl9oRLT qqcfKlCFGLJfjDNKFjExGyxfRK1trm2A1vWTez66NbEfBR3I7A4mCGYnKXrYPlOGpo kS3GGd/TPTkbA== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8BD17120AEF; Wed, 29 May 2019 16:07:18 -0400 (EDT) In-Reply-To: (Richard Copley's message of "Wed, 29 May 2019 20:11:46 +0100") 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: 209.51.188.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:159893 Archived-At: >> > Not in detail, it's not an area of expertise of mine. We call >> > (decode-coding-region (point-min) (point-max) 'undecided) on the >> > payload of "https://elpa.gnu.org/packages/archive-contents", >> > which is raw text. The resulting buffer's buffer-file-coding- >> > system is iso-latin-1-dos. >> >> Indeed, it seems that url-insert-file-contents sets >> buffer-file-coding-system. Maybe we can use that in the emacs-26 >> branch. Can you try the emacs-26 code with the patch below to see if it >> fixes the current problem? >> > > Yes, it seems to. At least, there's no error from [M-x > package-list-packages] in emacs -Q. Thanks Richard for promptly testing it. Noam, can you confirm that you can also still reproduce the problem in `emacs-26` and that my patch fixes it when you try it? Eli, do you think this is safe enough for the `emacs-26` branch? Stefan