From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#11267: 24.0.95; gnutls.c: [0] (Emacs) fatal error: The Diffie-Hellman prime sent by the server is not acceptable (not long enough). Date: Tue, 24 Apr 2012 08:45:48 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87k4152t8j.fsf@lifelogs.com> References: <874nsi12ng.fsf@niu.edu> <6mwr5d6l6e.fsf@fencepost.gnu.org> <20367.61741.640831.184941@gargle.gargle.HOWL> <20368.16452.379860.520133@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335271597 4988 80.91.229.3 (24 Apr 2012 12:46:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 12:46:37 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 11267@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 14:46:35 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMf8X-0002BD-UM for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 14:46:30 +0200 Original-Received: from localhost ([::1]:34837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMf8W-0001Po-RE for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 08:46:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMf8T-0001OX-G4 for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 08:46:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMf8J-0006dz-AY for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 08:46:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMf8J-0006dq-7i for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 08:46:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMf93-0004hz-QX for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2012 08:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2012 12:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11267-submit@debbugs.gnu.org id=B11267.133527160318069 (code B ref 11267); Tue, 24 Apr 2012 12:47:01 +0000 Original-Received: (at 11267) by debbugs.gnu.org; 24 Apr 2012 12:46:43 +0000 Original-Received: from localhost ([127.0.0.1]:50289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMf8j-0004hM-So for submit@debbugs.gnu.org; Tue, 24 Apr 2012 08:46:42 -0400 Original-Received: from z.lifelogs.com ([173.255.230.239]:45004) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMf8h-0004hF-6a for 11267@debbugs.gnu.org; Tue, 24 Apr 2012 08:46:40 -0400 Original-Received: from heechee (c-76-28-40-19.hsd1.vt.comcast.net [76.28.40.19]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tzz) by z.lifelogs.com (Postfix) with ESMTPSA id 0152662738; Tue, 24 Apr 2012 12:45:49 +0000 (UTC) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <20368.16452.379860.520133@gargle.gargle.HOWL> (Roland Winkler's message of "Thu, 19 Apr 2012 11:41:40 -0500") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59442 Archived-At: On Thu, 19 Apr 2012 11:41:40 -0500 "Roland Winkler" wrote: RW> On Thu Apr 19 2012 Lars Magne Ingebrigtsen wrote: >> Glenn Morris writes: >> > I also wonder how it can be safer to fall back to no encryption at all, >> > rather than using weak encryption (if that is indeed what is happening). >> > Maybe it's to prevent a false sense of security, or something. >> >> Are you sure that it's falling back to no encryption? If it really does >> that, then that's pretty crappy behaviour, in my opinion. RW> If the error message was more verbose, say by mentioning the RW> fallback the code uses, this could help nonexpert users like us to RW> understand the situation. The error is coming straight from GnuTLS. We can probably add a Emacs-specific clarification to it, mentioning `gnutls-min-prime-bits'. Would that be more helpful? Or should I add a FAQ section to emacs-gnutls.texi? Usually this means the server should increase the size of the prime, e.g. here are similar reports for msmtp and Sendmail: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461802 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440344 Dropping down to fewer bits in the DH prime is AFAIK not a serious concern: you're not exposing your communications, only making the exchange of the secret key slightly less secure. So you're slightly more vulnerable to a man-in-the-middle attack, but the connection itself will be encrypted. You can only turn off encryption by changing the priority string. ted