all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Amin Bandali <bandali@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Network Security Manager warns safe renegotiation is not supported
Date: Sun, 01 Sep 2019 12:37:10 -0400	[thread overview]
Message-ID: <875zmcdlc9.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87zhjoj4w3.fsf@yujinakao.com>

Yuji Nakao <contact@yujinakao.com> writes:

> Hi, I tried to connect to https://elpa.gnu.org in eww Emacs 27.0.50, but
> Network Security Manager warned `TLS connection to elpa.gnu.org:433 is
> insecure for the following reason: * safe renegotiation is not
> supported, connection not protected from impersonators`, and showed
> `Continue connecting?` multiple choice prompt whether to accept the
> certificate.
>
> I guess this is caused by recently merged nsm.el, and
> after some investigation, the warning disaapeared by setting
> (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3").
> Is this a right workaround for this issue?
>

I’m no security expert, but I don’t think that’s a good idea.  Setting
`gnutls-algorithm-priority' to that value basically tells GnuTLS to skip
TLS1.3 altogether, which is the latest version of the TLS protocol.

The issue seems to be that nsm.el checks for renegotiation_info[1] for
TLS1.3 connections as well; but if I understand correctly, renegotiation
was removed from TLS1.3, according to [2] and [3].  I *think* the proper
way to fix this would be have nsm *not* check for renegotiation-info-ext
for TlS1.3 connections.  Please don’t take my word for this as, again,
I’m no security/GnuTLS expert.  Hopefully others with more knowledge can
chime in to clarify.

Footnotes:
[1]  See C-h f nsm-protocol-check--renegotiation-info-ext RET

[2]  https://wiki.openssl.org/index.php/TLS1.3#Renegotiation

[3]  https://www.cloudflare.com/learning-resources/tls-1-3/




  parent reply	other threads:[~2019-09-01 16:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-31 23:23 Network Security Manager warns safe renegotiation is not supported Yuji Nakao
2019-09-01 15:38 ` Jude DaShiell
2019-09-01 16:37 ` Amin Bandali [this message]
2019-09-05  6:51   ` Robert Pluim
2019-09-05  7:53     ` Herbert J. Skuhra
2019-09-05  9:38       ` Robert Pluim
2019-09-05 10:02         ` Herbert J. Skuhra
2019-09-05 11:22           ` Robert Pluim
2019-09-05 11:51             ` Robert Pluim
     [not found]               ` <mailman.418.1567684317.2075.help-gnu-emacs@gnu.org>
2019-09-05 12:51                 ` Lars Magne Ingebrigtsen
2019-09-05 13:44                   ` Robert Pluim
     [not found]                     ` <mailman.423.1567691091.2075.help-gnu-emacs@gnu.org>
2019-09-05 13:51                       ` Lars Magne Ingebrigtsen
2019-09-05 14:02                         ` Robert Pluim
2019-09-05 19:09               ` Herbert J. Skuhra
2019-09-05 12:03             ` Herbert J. Skuhra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zmcdlc9.fsf@fencepost.gnu.org \
    --to=bandali@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.