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 18:55:05 +0000 Message-ID: References: <83sherosqm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045fbe3415b68f055b35d9fd" X-Trace: blaine.gmane.org 1507662379 13110 195.159.176.226 (10 Oct 2017 19:06:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 19:06:19 +0000 (UTC) Cc: 28780@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 21:06:13 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 1e1zqt-0001Q8-Mq for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 21:06:03 +0200 Original-Received: from localhost ([::1]:36716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1zr1-0002jD-6T for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 15:06:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1zqu-0002iu-Uf for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 15:06:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1zqs-0003Tm-8R for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 15:06:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1zqs-0003Th-4i for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 15:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1zqr-0005ep-PD for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 15:06:01 -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 19:06:01 +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.150766234321716 (code B ref 28780); Tue, 10 Oct 2017 19:06:01 +0000 Original-Received: (at 28780) by debbugs.gnu.org; 10 Oct 2017 19:05:43 +0000 Original-Received: from localhost ([127.0.0.1]:60921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1zqY-0005eB-NN for submit@debbugs.gnu.org; Tue, 10 Oct 2017 15:05:43 -0400 Original-Received: from mail-lf0-f48.google.com ([209.85.215.48]:45684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1zgZ-0005Mx-0e for 28780@debbugs.gnu.org; Tue, 10 Oct 2017 14:55:23 -0400 Original-Received: by mail-lf0-f48.google.com with SMTP id n69so4333146lfn.2 for <28780@debbugs.gnu.org>; Tue, 10 Oct 2017 11:55:22 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qvEEx+siaNxrafWPZXR/ugQLYzEJqP6JL0AHu0acwtA=; b=Kb3VJW0V/uSxYFt7PbCbBC2rh27TCRjas6k17P5DUe0npgC+M1knRVV225WDbjg6us zoc+ESrT4GMyMILef6Sn7C0XLcXdjXZbeS4xuiJ+J7CEqIf0+6XhLbsPkW1ENtKaxLuU TTKG6tmAxlNWr4/jnFIjuX0CWslfcvYemGlffLwYGnZ7WXh0AW7TTsT5uUDepoAZUvyb 1f5JHbg5id9KaHet0wr5VUdP03tXcYYCW1r0UQXEsQtSJz9Cfb2DuNCZuaV7OeshE53K qbJYyMSEy2CL/dItkHYrGO0Creq6vsn3eW1wepKmIoGUMnvbEiYvt7fNSdpQriNWATX6 +2gg== X-Gm-Message-State: AMCzsaXN5pPB8g6CP3dvyojxFFO/SjuREnHLspqgShEqUP3CZnYruDtF lengQwUMAfRLELWMbASQHoGwuOyM9Gucqk+1neE= X-Google-Smtp-Source: AOwi7QAzhj1TK00Ui6hz8cxnCRSAL1ZHlRnatmhhHmP8EmWTlUhph/rcSMuBiGTTM+LhlH064fq82QKWtuCV2PeY6lI= X-Received: by 10.46.20.79 with SMTP id 15mr4505498lju.125.1507661717025; Tue, 10 Oct 2017 11:55:17 -0700 (PDT) In-Reply-To: <83sherosqm.fsf@gnu.org> X-Mailman-Approved-At: Tue, 10 Oct 2017 15:05:42 -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:138190 Archived-At: --f403045fbe3415b68f055b35d9fd Content-Type: text/plain; charset="UTF-8" Hi Eli, On Tue, Oct 10, 2017 at 6:47 PM Eli Zaretskii wrote: > > 2. Execute `(setq-default coding-system-for-read 'utf-8)` (e.g. go to > > scratch, type this command, type C-x C-e). > 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? > After carefully reading the documentation for coding-system-for-read, I think you are right. It shouldn't be used like that. However the snipped including this command to "unicodify" emacs is mentioned in many places including some answers on stackoverflow. I think you the bug can be closed, thank you. > 2. https://emacs.stackexchange.com/questions/10046 > > 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. > At least cases #2 and #7 have a very the similar error message (and the same package in one case). Cheers, Iakov -- Iakov Davydov Postdoc, Department of Computational Biology and Department of Ecology and Evolution, University of Lausanne Swiss Institute of Bioinformatics --f403045fbe3415b68f055b35d9fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eli,

On Tue, Oct 10, 2017 at 6:47 PM Eli Zaretskii <eliz@gnu.org> wrote:
> 2. Execute `(setq-default coding-system-for-read 'utf-8)` (e.g. g= o to
> scratch, type this command, type C-x C-e).
Why do you need to do st= ep 2?=C2=A0 You shouldn't do that, especially when
using commands that read binary files.=C2=A0 coding-system-for-read is for<= br> temporarily forcing specific decoding of specific text, and should
otherwise be left alone.=C2=A0 And you definitely shouldn't change its<= br> default value.

IOW, this sounds like a clear cockpit error.=C2=A0 Am I missing something?<= br>
After carefully reading the documentation for coding-s= ystem-for-read, I think you are right. It shouldn't be used like that.<= /div>

However the snipped including this command to &quo= t;unicodify" emacs is mentioned in many places including some answers = on stackoverflow.

I think you the bug can be close= d, thank you.

> 2. = https://emacs.stackexchange.com/questions/10046 > 7. https://www.linux.org.ru/forum/security/1371= 8006 (In Russian)

I see no clear evidence that these reports are due to setting
coding-system-for-read.

At least cases = #2 and #7 have a very the similar error message (and the same package in on= e case).

Cheers,
Iakov
=
--
Iakov Davydov
Po= stdoc, Department of Computational Biology and Department of E= cology and Evolution, University of Lausanne
Swiss Institu= te of Bioinformatics
--f403045fbe3415b68f055b35d9fd--