From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Lawrence Mitchell <wence@gmx.li>
Cc: 9036@debbugs.gnu.org
Subject: bug#9036: [PATCH] gnutls: Add option to set minimum acceptable Diffie-Hellman key size
Date: Sat, 16 Jul 2011 18:08:36 +0200 [thread overview]
Message-ID: <m3k4bi4397.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87zkkefrl9.fsf@gmx.li> (Lawrence Mitchell's message of "Sat, 16 Jul 2011 11:27:30 +0100")
Lawrence Mitchell <wence@gmx.li> writes:
> The handshake returns GNUTLS_E_DH_PRIME_UNACCEPTABLE if the
> number of server prime bits is too low. I don't know how to
> query the size of the server prime. Maybe
> gnutls_dh_get_prime_bits? I'm wary to automatically adjust
> downwards.
I think adjusting it downwards automatically until you reach a
(user-definable) absolute lower limit would be fine. But I have no idea
what an acceptable default lower limit would be, or what the impact on
security this would have.
> A better error message (pointing at the existance of
> gnutls-min-prime-bits) in the case of this failure mode would
> probably be good though. I'll try and cook up a patch in the
> next few days.
Great!
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2011-07-16 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-09 14:44 bug#9036: [PATCH] gnutls: Add option to set minimum acceptable Diffie-Hellman key size Lawrence Mitchell
2011-07-15 16:47 ` Ted Zlatanov
2011-07-15 17:34 ` Lars Magne Ingebrigtsen
2011-07-16 10:27 ` Lawrence Mitchell
2011-07-16 16:08 ` Lars Magne Ingebrigtsen [this message]
2011-11-10 15:21 ` Lawrence Mitchell
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=m3k4bi4397.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=9036@debbugs.gnu.org \
--cc=wence@gmx.li \
/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.