Files
heimdal/kdc
Ragnar Sundblad 1bed48b75c tgs_make_reply: fix temp weak enctype exception
The default heimdal KDC chokes when trying to encrypt a ticket with a weak
server key that has a different type than the session key. The problem
happens in the krb5_crypto_init function called from the _kdc_encode_reply
function.

The existing work-around of the problem temporarily enabled the weak
enctype in case it was disabled but the principal was on the (hard-coded)
exception list.

Unfortunately the code used the keytype of the key encoded in the ticked
(the session key) instead of the keytype of the key used to encrypt the ticket
(the serverkey) thus enabling the incorrect encryption type if those two
are different, for instance des-cbc-md5 and des-cbc-crc.

Change-Id: Ia55dc344e3e5fc9ec1eb93c9e8ebb0a58c673d57
2013-07-30 14:16:20 -04:00
..
2011-07-24 13:07:07 -07:00
2011-07-24 20:24:37 -07:00
2011-05-21 11:57:31 -07:00
2012-11-27 21:58:05 -08:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2011-11-21 20:34:35 -08:00
2013-02-10 22:50:49 -08:00
2011-11-13 10:01:41 -08:00
2011-05-21 11:57:31 -07:00
2010-11-29 10:53:49 -05:00
2011-11-28 14:42:06 -06:00
2012-11-27 21:58:06 -08:00
2012-08-08 00:04:04 +01:00
2012-01-17 12:10:14 -06:00
2013-04-29 11:42:46 -07:00
2012-04-05 22:55:01 -07:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-07-24 20:24:35 -07:00
2013-06-04 00:04:16 -07:00