[krbdev.mit.edu #7033] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Mon Dec 5 19:07:11 EST 2011


pull up r25504 from trunk

 ------------------------------------------------------------------------
 r25504 | ghudson | 2011-12-04 17:38:36 -0500 (Sun, 04 Dec 2011) | 20 lines

 ticket: 7033
 target_version: 1.10
 tags: pullup

 Set a default enctype for optimistic preauth

 When the client application requests optimistic preauth for a preauth
 type which uses the password, we don't have an etype-info2 to
 interpret since we haven't talked to the KDC.  So we need to guess an
 enctype, salt, and s2k parameters.  In 1.9 and prior, encrypted
 timestamp contained code to use the first requested enctype in this
 case, but encrypted challenge did not.  In 1.10 prior to this change,
 neither mechanism uses a reasonable default.

 Set a default enctype in krb5_init_creds_init so that all
 password-based preauth mechanisms will use a reasonable default in the
 optimistic preauth case.  The default salt and s2k parameters for this
 case will be the principal-based default salt and the enctype-based
 default parameters.

http://src.mit.edu/fisheye/changelog/krb5/?cs=25524
Commit By: tlyu
Revision: 25524
Changed Files:
U   branches/krb5-1-10/src/lib/krb5/krb/get_in_tkt.c




More information about the krb5-bugs mailing list