From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#31877: 26.1; Cannot view second certificate information when updating packages Date: Mon, 18 Jun 2018 01:09:15 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1529309291 10371 195.159.176.226 (18 Jun 2018 08:08:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2018 08:08:11 +0000 (UTC) To: 31877@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 18 10:08:07 2018 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 1fUpCj-0002X5-65 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jun 2018 10:08:01 +0200 Original-Received: from localhost ([::1]:33389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUpEq-0001Lw-DL for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jun 2018 04:10:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUpEi-0001Ld-4w for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:10:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUpEg-0004en-Of for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:10:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUpEg-0004eh-Ku for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUpEg-0006z0-CY for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jun 2018 08:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31877 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.152930938126807 (code B ref -1); Mon, 18 Jun 2018 08:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jun 2018 08:09:41 +0000 Original-Received: from localhost ([127.0.0.1]:54339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUpEJ-0006yG-O1 for submit@debbugs.gnu.org; Mon, 18 Jun 2018 04:09:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUpEH-0006y2-FI for submit@debbugs.gnu.org; Mon, 18 Jun 2018 04:09:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUpEB-0004XY-1S for submit@debbugs.gnu.org; Mon, 18 Jun 2018 04:09:32 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51565) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fUpEA-0004XU-UR for submit@debbugs.gnu.org; Mon, 18 Jun 2018 04:09:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUpE9-0001D7-O1 for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:09:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUpE8-0004Vz-8O for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:09:29 -0400 Original-Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]:41096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUpE8-0004VS-08 for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 04:09:28 -0400 Original-Received: by mail-io0-x231.google.com with SMTP id t5-v6so16024694ioa.8 for ; Mon, 18 Jun 2018 01:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=v5y1UHzU4RqUX7b+/9I0HyNTqQq4UJCUo1lLIG//00M=; b=qfA7fSEYWCGLGVMPA3lXxSqra1xSMBpxcGQc2Ffw4quCkA4HbZ/A8PSZHOR3PDV9l1 yZsMqC8mO1eq9HiXqpGEKw2Sc7ksMyZeA+iZTcAdWjNjWQHi8oP/b06Grxn3B1hqoISA +EnwZ323PVi+tDdlr+dm0TLZN2osTwCz5GfmTxfGDsKzPehY6Ytnlcs04Y90nPMAAKrs sxJjzaQlJBrmHVbzJ9KxbKYCc6iUkIEDW7k6OJ7ci45hCX2rRQ2/qK8FllH9hkygCyAi FyCaecD9MnKF2mO4U+V88+OqFgyplCFRSnotSz+p8+69p1BufhSWoswQPxiOIzgKs9mG b7ig== 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=v5y1UHzU4RqUX7b+/9I0HyNTqQq4UJCUo1lLIG//00M=; b=DwkRNn226lI1fj0sVSqUKXbCp7u0SZG1OLuVCZ9C/jra2aT5bvj7pLpFf9cPw32b3F FzSph8E0lqKk30geXorNYqPQoeiNu3M4CNsVU1li4N9aJfJjmG11d9cASEgIBvXYCV6K XcznwbHPgEa/UKifHvYeb60hO0vn/SMUOxj0zDMmMNgMwrTd4gZtmOJVhrpqEgbgLzfl +de1n/Zkj7o9pHbjTZtXyJn6Q6aCfplMUQPx9JB2Lr3YLjjBxW0kCSVQDcy77mAdV+hU PzNZfOPt79UpGpaDIeLep/9KUVOq59v9xkAIc/iJqagqrWdE8pm24HRxd/46zbYp34z5 lANg== X-Gm-Message-State: APt69E10x4hsShxlok2aHn0YNAnuXUaUP3HibqgaOmt+68TExb6fKd3r AUUHE0jc9CbXMddRx4VlzjlY+4W3fN3igceP/hwFLEYn X-Google-Smtp-Source: ADUXVKLTX4alF8on2We/F5skQuRPXT3Sy7MiUWNOiPaZZrSaQ/2Z15RQbahPeZoBjW4hvrcCd4qDzUdKWXIq+dWoxyA= X-Received: by 2002:a5e:8c15:: with SMTP id n21-v6mr9296702ioj.217.1529309366423; Mon, 18 Jun 2018 01:09:26 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:147594 Archived-At: 1. emacs -Q Note: This depends on some local state for remembering choices for certs, so you might want to add HOME="$(mktemp -d)" to use a clean temporary environment 2. M-: (setq network-security-level 'paranoid) RET 3. M-: (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("org" . "https://orgmode.org/elpa/"))) RET 4. M-x package-list-packages RET 5. There should be two windows, one with the package list and one with certificate information for the ELPA archive. Emacs prompts for "Continue connecting? (...)" 6. Press a 7. Now there will be two windows, both displaying the package list. There will be some success message in the minibuffer. Emacs is actually in a state where it is requesting input for the certificate for the second archive, but this is non obvious because the success message from the first certificate overrides the prompt for input for the second certificate [BUG 1]. Also, both windows are displaying the package list. The information for the second certificate is not displayed, so the user cannot check the certificate information to decide whether to accept it [BUG 2]. Pressing ? displays a help window that explains the three possible choices, but there is no way to go back to the certificate information even if it were displayed before, giving the user no way to verify the certificate information if they accidentally pressed ? [BUG 3]. In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-05-28 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12000000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2