all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Roland Winkler" <winkler@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 11267@debbugs.gnu.org
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: Thu, 19 Apr 2012 06:04:13 -0500	[thread overview]
Message-ID: <20367.61741.640831.184941@gargle.gargle.HOWL> (raw)
In-Reply-To: <6mwr5d6l6e.fsf@fencepost.gnu.org>

On Wed Apr 18 2012 Glenn Morris wrote:
> > Despite these error messages, Emacs is sending the mails I want to
> > send. In that sense, I cannot tell how relevant these error messages are.
> 
> Me neither. I think it means it is falling back to a non-encrypted
> connection. You can try setting gnutls-min-prime-bits.
> 
> If that is so, the error message should probably say something along
> those lines.

You are right. The "fatal error" disappears if I set
gnutls-min-prime-bits to 256. Yet this choice was just a guess based
on the custom declaration of this variable that suggests a value of
512.

I would appreciate if someone more knowledgable could review the
error messages that I have seen such that they become more helpful
for a nonexpert. Also it would be great if the docstring of
gnutls-min-prime-bits was more precise.

- What is the default value used for min-prime-bits if
  gnutls-min-prime-bits is nil?

- What are reasonable values for this variable such that a safe
  client-server handshake remains possible, if one needs to customize
  this variable? (Or the other way round: if a server wants to use a
  prime that is too small, it might really be the better solution to
  contact its sysadmin. Yet I couldn't tell when a prime falls below
  such a threshold.)

Thanks,

Roland





  reply	other threads:[~2012-04-19 11:04 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09  8:52 bug#15057: 24.3.50; TLS error with reasonably high gnutls-min-prime-bits Tassilo Horn
2013-08-11 20:03 ` Lars Magne Ingebrigtsen
2013-10-07 22:27   ` Ted Zlatanov
2014-01-31  0:46     ` Lars Ingebrigtsen
2014-02-10  2:15       ` Ted Zlatanov
2012-04-17 21:14         ` 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) Roland Winkler
2012-04-18 16:48           ` Glenn Morris
2012-04-19 11:04             ` Roland Winkler [this message]
2012-04-19 16:19               ` Glenn Morris
2012-04-19 16:26                 ` Lars Magne Ingebrigtsen
2012-04-19 16:31                   ` Glenn Morris
2012-04-19 16:41                   ` Roland Winkler
2012-04-24 12:45                     ` Ted Zlatanov
2012-04-24 20:04                       ` Roland Winkler
2012-05-13 19:04                         ` Lars Magne Ingebrigtsen
2012-05-15  8:24                           ` Ted Zlatanov
2012-05-15 15:16                             ` Chong Yidong
     [not found]                           ` <mailman.1129.1337070368.855.bug-gnu-emacs@gnu.org>
2012-05-18 11:38                             ` n.mavrogiannopoulos
2014-02-10  2:39                               ` Ted Zlatanov
2014-02-10  3:06                                 ` Roland Winkler
2014-02-10  8:28                                   ` Nikos Mavrogiannopoulos
2014-02-10  2:58         ` bug#15057: 24.3.50; TLS error with reasonably high gnutls-min-prime-bits Lars Ingebrigtsen
2014-02-10 10:52           ` bug#11267: bug#15057: 24.3.50; TLS error with reasonably high gnutls-min-prime-bits, 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) Ted Zlatanov
2014-02-11  5:09             ` Lars Ingebrigtsen
2014-02-11 10:35               ` Nikos Mavrogiannopoulos
2014-02-11 14:21               ` bug#16253: bug#11267: " Ted Zlatanov
2014-02-11 22:49                 ` Roland Winkler
2014-02-11 23:54                   ` Ted Zlatanov
2014-02-12  4:30                     ` bug#15057: " Lars Ingebrigtsen
2014-02-12 17:11                       ` Ted Zlatanov
2014-02-12  4:29                 ` Lars Ingebrigtsen
2014-12-08 19:43 ` bug#15057: 24.3.50; TLS error with reasonably high gnutls-min-prime-bits Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20367.61741.640831.184941@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=11267@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.