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 11:57:08 +0200 Message-ID: References: <1fa9309a-37ca-bcc0-fff9-22c80b081ce5@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529747759 14035 195.159.176.226 (23 Jun 2018 09:55:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 09:55:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 23 11:55:54 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 1fWfGr-0003Ua-0q for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 11:55:53 +0200 Original-Received: from localhost ([::1]:37716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWfIw-0000Qh-QI for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 05:58:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWfIG-0000Qc-J7 for emacs-devel@gnu.org; Sat, 23 Jun 2018 05:57:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWfID-0008Lq-G4 for emacs-devel@gnu.org; Sat, 23 Jun 2018 05:57:20 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWfID-0008Le-8S for emacs-devel@gnu.org; Sat, 23 Jun 2018 05:57:17 -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 1fWfI4-0002am-BQ; Sat, 23 Jun 2018 11:57:10 +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: (Stefan Monnier's message of "Fri, 22 Jun 2018 20:10:14 -0400") 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:226609 Archived-At: Stefan Monnier writes: >> I like your suggestion of changing the doc strings of gnutls.el to make it >> less likely to get future bug reports about this (a la bug#17660 etc.). I'm >> not expert enough in GnuTLS to know what should go into those doc >> strings, though. > > Maybe an alternative is to change those default settings to be extremely > strict, and loosen them as needed/appropriate when we go through the NSM. Hm... I may be misunderstanding what you mean here, but do you mean doing things like set `gnutls-min-prime-bits' to, say, 4096 (extremely strict :-)), and then have the NSM `medium' `network-security-level' change the setting back to 256 and reconnect? If so, that would to me seem to achieve little in practice and just make all (TLS) network connections slower... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no