unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: emacs-26 3302b7c: Mention the NSM in the gnutls variable doc strings
       [not found] ` <20180708135931.BCDF7205D8@vcs0.savannah.gnu.org>
@ 2018-07-09 11:49   ` Robert Pluim
  2018-07-09 11:53     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Pluim @ 2018-07-09 11:49 UTC (permalink / raw)
  To: emacs-devel; +Cc: Lars Ingebrigtsen

larsi@gnus.org (Lars Ingebrigtsen) writes:
> @@ -111,7 +123,14 @@ number with fewer than this number of bits, the handshake is
>  rejected.  \(The smaller the prime number, the less secure the
>  key exchange is against man-in-the-middle attacks.)
>  
> -A value of nil says to use the default GnuTLS value."
> +A value of nil says to use the default GnuTLS value.
> +
> +The default value of this variable is such that virtually any
> +connection can be established, whether this connection can be
> +considered cryptographically \"safe\" or not.  However, Emacs
> +network security is handled at a higher level via
> +`open-network-stream' and the Network Security Manager.  See Info
> +node `(emacs) Network Security'."
>    :type '(choice (const :tag "Use default value" nil)
>                   (integer :tag "Number of bits" 512))
>    :group 'gnutls)

So gnutls-min-prime-bits is still 256, but the NSM on its default
'medium' level will complain if it negotiates < 1024? Would it not
make more sense to set it to nil then? People who really need it at
256 can set it to that (and it should really be settable per-host, but
thatʼs a different issue).

Regards

Robert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs-26 3302b7c: Mention the NSM in the gnutls variable doc strings
  2018-07-09 11:49   ` emacs-26 3302b7c: Mention the NSM in the gnutls variable doc strings Robert Pluim
@ 2018-07-09 11:53     ` Lars Ingebrigtsen
  2018-07-09 13:27       ` Robert Pluim
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2018-07-09 11:53 UTC (permalink / raw)
  To: emacs-devel

Robert Pluim <rpluim@gmail.com> writes:

> So gnutls-min-prime-bits is still 256, but the NSM on its default
> 'medium' level will complain if it negotiates < 1024? Would it not
> make more sense to set it to nil then? People who really need it at
> 256 can set it to that (and it should really be settable per-host, but
> thatʼs a different issue).

No, that's the same issue.  We leave this up to the NSM exactly so that
users can decide themselves, on a per-host basis, whether to go through
with the connection or not.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs-26 3302b7c: Mention the NSM in the gnutls variable doc strings
  2018-07-09 11:53     ` Lars Ingebrigtsen
@ 2018-07-09 13:27       ` Robert Pluim
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Pluim @ 2018-07-09 13:27 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
>> So gnutls-min-prime-bits is still 256, but the NSM on its default
>> 'medium' level will complain if it negotiates < 1024? Would it not
>> make more sense to set it to nil then? People who really need it at
>> 256 can set it to that (and it should really be settable per-host, but
>> thatʼs a different issue).
>
> No, that's the same issue.  We leave this up to the NSM exactly so that
> users can decide themselves, on a per-host basis, whether to go through
> with the connection or not.

I should have read the mega-thread first :-)

Regards

Robert



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-09 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180708135930.31863.22883@vcs0.savannah.gnu.org>
     [not found] ` <20180708135931.BCDF7205D8@vcs0.savannah.gnu.org>
2018-07-09 11:49   ` emacs-26 3302b7c: Mention the NSM in the gnutls variable doc strings Robert Pluim
2018-07-09 11:53     ` Lars Ingebrigtsen
2018-07-09 13:27       ` Robert Pluim

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).