From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: A couple of questions and concerns about Emacs network security Date: Sat, 07 Jul 2018 11:36:24 +0200 Message-ID: <877em7o09z.fsf@gmail.com> References: <83o9g2uhju.fsf@gnu.org> <20180705115826.73c1d95e@jabberwock.cb.piermont.com> <83a7r4n5ht.fsf@gnu.org> <87lgaoaf2f.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1530956109 2394 195.159.176.226 (7 Jul 2018 09:35:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Jul 2018 09:35:09 +0000 (UTC) Cc: Paul Eggert , rms@gnu.org, "Perry E. Metzger" , Eli Zaretskii , Emacs-Devel devel , Lars Ingebrigtsen To: Jimmy Yuen Ho Wong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 07 11:35:04 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 1fbjcO-0000VP-35 for ged-emacs-devel@m.gmane.org; Sat, 07 Jul 2018 11:35:04 +0200 Original-Received: from localhost ([::1]:32925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbjeV-0001Dx-5Q for ged-emacs-devel@m.gmane.org; Sat, 07 Jul 2018 05:37:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbjdp-0001Dm-Ur for emacs-devel@gnu.org; Sat, 07 Jul 2018 05:36:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbjdp-0007Qm-2q for emacs-devel@gnu.org; Sat, 07 Jul 2018 05:36:33 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:45853) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fbjdj-0007NC-Nz; Sat, 07 Jul 2018 05:36:27 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id u7-v6so6259921wrn.12; Sat, 07 Jul 2018 02:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=gldeeKomT5Bgu+YWmRkHq+JnE5/ObeiQ8aX6W8wXj9E=; b=jwA7LqzOL8+fRb/RTzpEJ7DOLwjHxpT0I38TEaZ29XDtZauUvNGVievR1xyYxKYMwG tlcyvraSwwfYLtyN7nR1QIXPqKGNm/iViEjJOuaHIMjzOd9Kp18coX8TPua6ZFtKbfnt F0E2c3Vt+xkTWJVbQuAftnt705LOGX7wYxSCBM61sYnwkINtC1b4JZnByQKNZahyexJY 5K9qXy1eA0zaBeJbvzHzvw3LebjJaB7gNGCEs5gfu/5K0W4V8xUk0HGyfqT1rd1XkZVB u9hG9Czg4lkFBNAQsUe/nai0Giu6yMlsKSuBSLkzum/CxVhQQUlDtP2eCbxk+U5QbP0z yx0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=gldeeKomT5Bgu+YWmRkHq+JnE5/ObeiQ8aX6W8wXj9E=; b=kVjsv3aIcCx/CqOd4ofnjmeeTwXnbquHIUmmhP0CaOe0nvegORLllQvE0HXdNPk1Ky OFi3Ltz83j7axOQQ0YK+A7zE9g84TmYo5APXfx8ZsDNq/2N75WDaqYFrdQ3uduoEJ7rx cB5Ya8A8Zycu4NVLn95t3JQhoOcNkbkuZFLUDolSJ4HCHhZ1KDkFLfLDe9iHTcuTrPyN LlW2OWlhz6FMcnnnJqbrYLNtzObqp7g9hK2C1oXq1BXnWoRjFWoqUFt6sUxB8qzOUrbm 8jqkRYs7bvtSU4qoDYqXCoC/y/R5U0OmiFLwaOwkZoD1vrAu7rMIjO/bhw/JtOCSOrqo cMSw== X-Gm-Message-State: APt69E3FtlqZtM2rFyn66Ap6UHrY0nP+PjmdH8abtvzP0aJGwGauhZxg aGMiuf6UURxZEeOSW1WNTdM= X-Google-Smtp-Source: AAOMgpcyl0B9Vd0BV597WgZ9f+FPnakq72LzNPG/Yov5pZ9zQngprG1Bkc5ErMfffycdcSmR+x1a+A== X-Received: by 2002:adf:9246:: with SMTP id 64-v6mr10114142wrj.109.1530956186280; Sat, 07 Jul 2018 02:36:26 -0700 (PDT) Original-Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id i9-v6sm8067285wrs.92.2018.07.07.02.36.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 02:36:25 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e 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:227041 Archived-At: Jimmy Yuen Ho Wong writes: > I disagree that prompting for pretty much every TLS connection is a > good idea. In security circles these days, there's such a thing known > as "security fatigue". Overly troublesome security measure that don't > take human psychology into account will lead to numbness. A side > effect of that is users will simply start ignoring security warnings > like they skip reading iTunes's EULA. This is an adverse unintended > consequence that achieves the opposite of what we want to do here. For normal usage, we should absolutely not prompt too much [1]. I=CA=BCm not recommending 'paranoid' to anyone, but in my specific circumstances it=CA=BCs the right thing to do. >>>> `gnutls-min-prime-bits` should be `nil` on Emacs 26.2 >> >> That might be going a bit far, but I can certainly do that locally and >> see what happens. >> > > As I've said, setting `gnutls-min-prime-bits` to nil simply means > GnuTLS will negotiate the right number of DH bits on the user's > behalf, starting from 1008 bits since 3.3.0. > >> >> Documentation is good. I=CA=BCll see if I can find some time to work on >> that. >> > > Thanks for helping out :) Is your work on a git branch somewhere? Regards Robert Footnotes: [1] If you fix the double-prompting caused by google's certificate load-balancing, that would reduce it a lot for me :-)