From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#35739: Bad signature from GNU ELPA Date: Wed, 29 May 2019 20:11:46 +0100 Message-ID: References: <87mujog0ao.fsf@gmail.com> <837easa178.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001a076f058a0b8f56" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="151094"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35739@debbugs.gnu.org, Noam Postavsky To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 29 21:13:11 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 1hW40c-000d9O-Qw for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 21:13:11 +0200 Original-Received: from localhost ([127.0.0.1]:59450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW40b-0007YA-RA for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 May 2019 15:13:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW40V-0007Xr-3u for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 15:13:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW40U-0005FE-0Z for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 15:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46341) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW40T-0005F7-UN for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 15:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hW40T-0008E9-Lq for bug-gnu-emacs@gnu.org; Wed, 29 May 2019 15:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 May 2019 19:13:01 +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.155915714631574 (code B ref 35739); Wed, 29 May 2019 19:13:01 +0000 Original-Received: (at 35739) by debbugs.gnu.org; 29 May 2019 19:12:26 +0000 Original-Received: from localhost ([127.0.0.1]:59885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hW3zt-0008DB-RV for submit@debbugs.gnu.org; Wed, 29 May 2019 15:12:26 -0400 Original-Received: from mail-oi1-f181.google.com ([209.85.167.181]:42644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hW3zs-0008Cy-90 for 35739@debbugs.gnu.org; Wed, 29 May 2019 15:12:24 -0400 Original-Received: by mail-oi1-f181.google.com with SMTP id v25so2442401oic.9 for <35739@debbugs.gnu.org>; Wed, 29 May 2019 12:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qCMb9MdMOu21naqnGU5TGxZRMjYNx+poHDhbqrYtOak=; b=EFK/LZ+cLr1OPvUQdIoY6j8rPF1JHMJvseeuFF+MAk3M5kxN5Fea5MiZHXq7B2FJbT Ie5JiXqd4cLyCEG6MVtAsz/6O1wHwWyDKfhM8hmglQSLOqKPc4HBMvIJ6uAJRRk26jdU zOdN8fr8ItQjqO03rfOHjWstZKrSYvTJyC9fMGybbxEjDIZdyn5X/R2q+M8bEbrdpHd0 AbMj21M1gS8Sy88NwTgp/Tfwu6mYM00Di65GZetHgCLtxeU6G/7x960ARijh2fxCzwpQ 4TvAFJKjsQds5Wa8DZb27KMRe1xnqgIUgsFxiIACyNZzKRf1YGYAcdkyP0zP4w4LNsPu FnrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qCMb9MdMOu21naqnGU5TGxZRMjYNx+poHDhbqrYtOak=; b=Kk2bQE2ajGpflOrLg3YkFgBTSSZC8iuZkK0pTOlhTfqJD43n027Q/vI3peGAFCveuG hLd0L1v+R8I1MgVwBycAceulvcSedEOJ3Ky3kvdjDUL5S5zauOD7mfiAiKFpRZk4pqkQ CO5yOoc7jbmAINFxHqtUjtxEXmR75BOBD9KZnQ7l7ImtkYVX5/v+Omd/LucACvoYDFZu QsC6AbVQVYRAUGnRcsd8fR53uBfJL4Ymejj2UN9msrT/Fe1yWVMC78vVTFShRerBTgOc WTO05ca5fuQSZ9P+Yot5Ar+DkSG66Rj9xm4UmE3MS5fmfGtkm7jeiWmG6r7F+NKlgTdv lTSg== X-Gm-Message-State: APjAAAURPMfPhPPYKzTh17RGnxoEqGpaOb/L29zaccWSkwronkmUiWqr bcntOcPcLfOXyxIDGKz9p7Tmy55CirlZFp8obKA= X-Google-Smtp-Source: APXvYqzBPTXSoo6OQS3pRjPYJuJGC8WgwtcuoFj4iQBd1V2wpA8Wxzpf0QUPbkg8H5GPcWSiXr2ZE+IaqmV49b2dIeQ= X-Received: by 2002:aca:ef43:: with SMTP id n64mr2414982oih.79.1559157133672; Wed, 29 May 2019 12:12:13 -0700 (PDT) In-Reply-To: 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:159891 Archived-At: --0000000000001a076f058a0b8f56 Content-Type: text/plain; charset="UTF-8" On Wed, 29 May 2019 at 19:45, Stefan Monnier wrote: > > 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. --0000000000001a076f058a0b8f56 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 29 May 2019 at 19:45, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">> 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/ar= chive-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.=C2=A0 Maybe we can use that in the emacs-26
branch.=C2=A0 Can you try the emacs-26 code with the patch below to see if = it
fixes the current problem?

Yes, it seem= s to. At least, there's no error from [M-x package-list-packages] in em= acs -Q.

--0000000000001a076f058a0b8f56--