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 17:54:25 +0100 Message-ID: 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 1532364774 24195 195.159.176.226 (23 Jul 2018 16:52:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 16:52:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.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 18:52:50 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 1fhe4k-0006AF-UO for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 18:52:47 +0200 Original-Received: from localhost ([::1]:35662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhe6r-0000bs-QM for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 12:54:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhe6e-0000ZV-BD for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:54:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhe6a-0001J4-69 for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:54:44 -0400 Original-Received: from [195.159.176.226] (port=53578 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhe6Z-0001Ho-Uy for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:54:40 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fhe4N-0005jE-4v for emacs-devel@gnu.org; Mon, 23 Jul 2018 18:52:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:JkXnsUJ/wp3XHhO/pU0glgcileg= 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:227734 Archived-At: 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: (setq gnutls-algorithm-priority "normal") (setq gnutls-min-prime-bits nil) (require 'nsm) (setq network-security-level 'high) (setq nsm-save-host-names t) For some article it prompts for each image for a certificate. The message in the echo erea obscures the next question in the minibuffer, and any keypress other than the expeced ones seems to send it into a busy loop that is only fixed by quitting with ^G. This is on Windows 10 with 64bit emacs (mingw64 MSYS2) built from either emacs-26 or master. AndyM