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: Sat, 23 Jun 2018 12:34:45 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529750032 28498 195.159.176.226 (23 Jun 2018 10:33:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 10:33:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Jimmy Yuen Ho Wong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 23 12:33:48 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 1fWfrY-0007K8-4o for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 12:33:48 +0200 Original-Received: from localhost ([::1]:37830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWftf-0007VU-8U for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 06:35:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWfsd-0007UR-Jb for emacs-devel@gnu.org; Sat, 23 Jun 2018 06:34:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWfsZ-0004LP-QX for emacs-devel@gnu.org; Sat, 23 Jun 2018 06:34:55 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWfsZ-0004LE-Il for emacs-devel@gnu.org; Sat, 23 Jun 2018 06:34:51 -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 1fWfsT-0001Th-Dc; Sat, 23 Jun 2018 12:34:49 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEXc3NsPDQ4FAwQDAQLw 8PAEAgOgn5/DwsFXVlf////+//77+/uxsK/+/v0FBAVGcKD1AAACPUlEQVQ4jdXSwWvTUBgA8G4M i9DDCmvdqdAnAU+5PHKvEpxjVegLn+xUKkjX0SAdlIaxHmaZmh4sFYr2s+1/UdQSCxVGixAGgiBF e7Cw4il/g99LW3dQD3oQTMhL8v3yJfm+9wL4660V+FPo/JfweeyPTt/py4vJZOxDKxfbvI/YeBiO hsP79HQ4vOHDwTmI+HtsKiLqeVcIYp4P7QjnADN8ICDK2NdtCesSVhTONZ4eRLhGoD5FnEPnkcGB Q/qdwXl0ythsCW0FxGbM2K1xAqaI+OECmiBmvXbk8VUJgp7aWMAHTVQR7x1wCUDbtzEBBvAGpC8j vq0YQGCAIrz9mCphVUlR3U0FdjlEBdjA1ucZqyzVQzwDOFaojulxhMXncEcRh1iPQSrIFKqjeuYx 5sMzJk7wDQPhUUum02pzCU0G14oV0Oh/hMxo1FTVh3oEmKoAGAAsytQqrnhTH7BCDeGGpnGNXkXw fAm3FINroKpMk92lYmveHBqyi3d1fUt+wyO4vgB8FQFBza6fLzLqi/lATNr2NmXa9hPbpqnFnH1C kAxlLNeyQkUaTkdWeVAolK2iBHMtVBgWh27BNI+G1sBMjNzQqYSR+dosWe6emzDLbnltWM5fSkq4 mTE/udagXBgFM6VMKRh0rXnGx77T0p0dx3G6O7R3Hb2rd29fLNGtxFFALyYOf1q7X3KDXHY4ylPM v/8BL0qD7DC7l1/e/261/xvo/MWrXuKyqPFFvBPQe/Lcoug83McJHdj5DjMJSLejSCPlAAAAAElF TkSuQmCC In-Reply-To: (Lars Ingebrigtsen's message of "Sat, 23 Jun 2018 12:23:31 +0200") 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:226612 Archived-At: Lars Ingebrigtsen writes: > We discussed the sha1 authority thing last year and our conclusion was > that we should move the sha1 check to `medium', and then I just forgot > to do it. Sorry! I should have filed a bug report to remind myself... And now I remember why I didn't: I meant to refactor the protocol checks in nsm.el so that they're more easily extensible and also allow the user more fine-grained control of what protocol issues they care about. Something like (defvar network-security-tls-problems '((low-diffie-hellman-prime-bits medium) (rc4 low) (dh-small-subgroup high))) or something, and then a separate function for each of these tests to avoid an ever-growing huge function with a `cond' in it, and also allow users to add their own tests. I'll bug report it to remind myself... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no