[37385] in Kerberos
Re: [EXTERNAL] Re: PKINIT on MacOSX Maverick and Yosemite
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jan 18 20:26:42 2016
To: "Machin, Glenn D" <GMachin@sandia.gov>,
"kerberos@mit.edu" <kerberos@mit.edu>
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <569D90C3.9060605@mit.edu>
Date: Mon, 18 Jan 2016 20:26:27 -0500
MIME-Version: 1.0
In-Reply-To: <D2C2CA0B.4AC9A%gmachin@sandia.gov>
Content-Type: text/plain; charset="windows-1252"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit
On 01/18/2016 07:30 PM, Machin, Glenn D wrote:
> Apparently MacOSX
> Heimdahl is set at 1024 and has no (at least that I can find) a krb5.conf
> attribute like pkinit_dh_min_bits.
>From a look at the source code, it seems like Heimdal supports a
pkinit_dh_min_bits variable in [libdefaults], but only has built-in DH
groups at 1024 and 1760 bits. If I'm right, you would need a
krb5.moduli file to make it support a 2048-bit group, and I can't find
any documentation on how to do that.
(To Heimdal's credit, it has supported ECDH PKINIT using P-256 for years
now, but that doesn't help you interoperate because MIT krb5 doesn't
implement it.)
> The MIT KDC minimum is 2048 and even if
> you set the kdc.conf pkinit_dh_min_bits to 1024 the source codešs minimum
> is defined at 2048.
This was changed in 1.11.3 and 1.12+; we now allow values as low as 1024
bits to be configured. Be aware that cryptographers believe 1024-bit
Diffie-Hellman to be attackable by nation-state adversaries. It seems
like a value of 1760 bits might work with OS X clients (even without
configuration), so you might consider that instead.
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos