From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9036: [PATCH] gnutls: Add option to set minimum acceptable Diffie-Hellman key size Date: Fri, 15 Jul 2011 19:34:48 +0200 Message-ID: References: <87ei1zpl0x.fsf@ed.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310755591 14813 80.91.229.12 (15 Jul 2011 18:46:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 18:46:31 +0000 (UTC) Cc: 9036@debbugs.gnu.org To: Lawrence Mitchell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 20:46:26 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhnP8-0004hh-39 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 20:46:26 +0200 Original-Received: from localhost ([::1]:58048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhnP6-00038q-GM for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 14:46:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhmL3-000877-1L for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 13:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhmKy-0007mb-E3 for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 13:38:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhmKx-0007mN-Fk for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 13:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhmKw-0003J7-H2; Fri, 15 Jul 2011 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9036 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 9036-submit@debbugs.gnu.org id=B9036.131075145612676 (code B ref 9036); Fri, 15 Jul 2011 17:38:02 +0000 Original-Received: (at 9036) by debbugs.gnu.org; 15 Jul 2011 17:37:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhmKS-0003IM-Gh for submit@debbugs.gnu.org; Fri, 15 Jul 2011 13:37:36 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhmKM-0003I3-Q8 for 9036@debbugs.gnu.org; Fri, 15 Jul 2011 13:37:31 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhmK7-0001kJ-ID; Fri, 15 Jul 2011 19:37:11 +0200 In-Reply-To: <87ei1zpl0x.fsf@ed.ac.uk> (Lawrence Mitchell's message of "Sat, 9 Jul 2011 15:44:28 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Shadows And Light (2)_: "Why Do Fools Fall In Love" X-Hashcash: 1:23:110715:bug-gnu-emacs@gnu.org::tiPxin0irbmVvah8:00000000000000000000000000000000000000002HCP X-Hashcash: 1:23:110715:wence@gmx.li::GrW2u8qjCOrYE/6b:000006J55 X-Hashcash: 1:23:110715:9036@debbugs.gnu.org::IavHFxJMp5VEAUS1:00000000000000000000000000000000000000000m+lm X-MailScanner-ID: 1QhmK7-0001kJ-ID MailScanner-NULL-Check: 1311356231.69429@amajR2T2WHpzTyr9Q3ioag X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 13:38:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49202 Archived-At: Lawrence Mitchell writes: > With the recent gnutls changes I could no longer send mail with > STARTTLS since the smtp server I connect to only advertises a D-H > key with 512bits. This is smaller than the default value gnutls > allows and so the connection would be aborted. This patch adds > the ability to set the minimum acceptable size of key, so that I > can send email again! Thanks; I'll apply your patch. However, is there any way to make the gnutls library adjust the size downwards automatically if it's too big? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/