From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: A couple of questions and concerns about Emacs network security Date: Sun, 24 Jun 2018 14:53:36 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529844748 18323 195.159.176.226 (24 Jun 2018 12:52:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Jun 2018 12:52:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Paul Eggert , emacs-devel@gnu.org To: Jimmy Yuen Ho Wong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 24 14:52:24 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 1fX4VE-0004fv-AO for ged-emacs-devel@m.gmane.org; Sun, 24 Jun 2018 14:52:24 +0200 Original-Received: from localhost ([::1]:41799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX4XL-0005kM-KG for ged-emacs-devel@m.gmane.org; Sun, 24 Jun 2018 08:54:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX4We-0005kH-G4 for emacs-devel@gnu.org; Sun, 24 Jun 2018 08:53:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fX4Wa-0005FJ-Ji for emacs-devel@gnu.org; Sun, 24 Jun 2018 08:53:52 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:47997) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fX4Wa-00059o-DH for emacs-devel@gnu.org; Sun, 24 Jun 2018 08:53:48 -0400 Original-Received: from cm-84.212.221.165.getinternet.no ([84.212.221.165] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fX4WO-0001JV-92; Sun, 24 Jun 2018 14:53:38 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEXMrxvexBL375Ty1xSz myL83gbz9/XpzhPx9//TuR7/4QD76VL85z/w9v1hWhr88H3agebWAAABPklEQVQ4jb3SMUvDQBQH 8AQSOgjlDgzBjA7BqR+gWyAqZAh1CIcZHUoXJUJDwA9QsujkYpcmmKN4X8DvIEKhOHS0kKnC4dzJ VBEC+WcT33g/7v7vPU5Jv2uyzeKBJ6pa/Bykyi/kAdlAmOfk2ELA6ZjCG5yqUYhAnBlGBwLTkxh2 RUwThs9JoMNwweMAgxC5YZjXsxUAVdWUvVETintt30NPcRbwEGYoDg4XBujq060ON024cwQXxU0D bv2pcHSXN+Bt6ftueSo57creqgb2xVrrloor5fvH4VENLm1P52tLhKa1mNQhtbeWSBKW7DJGdRhW c0RUNeCA51TVIQwOKAZqKiaEiJIOBEYJDmds93/g2ts+wx9C5rXA+BlDdnLVx1D2phiktCA8tcHj wwxniAK3y1+r6iMYVvXyr9v9AgyzgSrr1sfFAAAAAElFTkSuQmCC In-Reply-To: (Jimmy Yuen Ho Wong's message of "Sat, 23 Jun 2018 13:45:25 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.91.224.195 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:226640 Archived-At: Jimmy Yuen Ho Wong writes: > Currently `network-security-level` 'high and above *only* checks for the case > with prime bits < 1024. I can't fine tune the specific checks (very much > necessary given Emacs' release cycle) in `network-security-level` to > something like: > > (setq gnutls-algorithm-priority > "SECURE192:+SECURE128:-VERS-ALL:+VERS-TLS1.2:%PROFILE_MEDIUM" > gnutls-min-prime-bits 2048) > > **AND** have NSM warn me if I'm presented a 3DES cert or a cert with a DH > prime between 1024 and 2048. Like I said in a different email, I'll be rewriting the checks to allow the user to add as fine-grained checks they want to the NSM via something like: (defvar network-security-tls-problems '((low-diffie-hellman-prime-bits medium) (rc4 low) (dh-small-subgroup high))) But you'd leave the gnutls variables alone. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no