From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: The netsec thread Date: Mon, 23 Jul 2018 20:34:33 +0100 Message-ID: <86zhyh7nli.fsf@gmail.com> References: <83bmb214ez.fsf@gnu.org> <837elq13me.fsf@gnu.org> <83h8kqwukq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532374403 20198 195.159.176.226 (23 Jul 2018 19:33:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 19:33:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 21:33:19 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fhga6-00059B-F3 for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 21:33:18 +0200 Original-Received: from localhost ([::1]:36173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhgcD-00068b-CI for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 15:35:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhgbX-00068K-EZ for emacs-devel@gnu.org; Mon, 23 Jul 2018 15:34:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhgbU-00028U-AD for emacs-devel@gnu.org; Mon, 23 Jul 2018 15:34:47 -0400 Original-Received: from [195.159.176.226] (port=40813 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhgbU-00028M-2J for emacs-devel@gnu.org; Mon, 23 Jul 2018 15:34:44 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fhgZL-0004BH-7Z for emacs-devel@gnu.org; Mon, 23 Jul 2018 21:32:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:ML/dHlOv19eKUkZ72VaFCHCf//M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227741 Archived-At: On Mon 23 Jul 2018, Andy Moreton wrote: > On Mon 23 Jul 2018, Lars Ingebrigtsen wrote: > >> Andy Moreton writes: >> >>> You have not understood what I meant: the existing code is buggy. It is >>> supposed to allow the user to press a limited number of keys to decide >>> what to do with the presented certificate. however if you press any >>> other key, the NSM gets stuck and you have to quit with ^G to kill it. >> >> That sounds like a bug. When I hit a different key it just says that >> it's an invalid key and I can then hit the right key. >> >> Do you have a test case? > > I've seen this with gnus when reading blog articles from gmane.org, > where the article has several images, and this in init.el: After a bit more testing I find that gnus can still be provoked into getting stuck on the emacs-26 branch: - delete ~/.emacs.d/network-security.data and restart emacs - start gnus, and enter group gwene.electronics.righto on news.gmane.org - read one or more articles which contain more than one image - NSM prompts for a certificate from *.googleusercontent.com (name varies) - press keys otehr than the expected a/s/n/? (e.g. ) - NSM gets stuck and never seems to discard the unexpected keys. only quitting with ^G seems to fix it. In further testing I cannot reproduce this on master, so hopefully the problem is gone :-) AndyM