[krbdev.mit.edu #8587] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Thu Oct 4 16:56:11 EDT 2018


Add API to retrieve etype-info from KDC

Add the krb5_get_etype_info() API, which sends an initial ticket
request to the KDC and extracts an enctype, salt, and s2kparams value
from the first KDC reply.  This function will help ktutil use the
correct salt and s2kparams when creating keytabs.

[ghudson at mit.edu: renamed API to krb5_get_etype_info() and adjusted
behavior]

https://github.com/krb5/krb5/commit/c67c0e1a446d2230a1daa28ab058e37e5c6f4734
Author: Mubashir Kazia <mkazia at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: c67c0e1a446d2230a1daa28ab058e37e5c6f4734
Branch: master
 .gitignore                           |    1 +
 doc/appdev/refs/api/index.rst        |    1 +
 src/include/krb5/krb5.hin            |   37 +++++++-
 src/lib/krb5/krb/Makefile.in         |   14 +++-
 src/lib/krb5/krb/get_etype_info.c    |  180 ++++++++++++++++++++++++++++++++++
 src/lib/krb5/krb/int-proto.h         |    4 +
 src/lib/krb5/krb/preauth2.c          |    8 +-
 src/lib/krb5/krb/t_get_etype_info.c  |  110 +++++++++++++++++++++
 src/lib/krb5/krb/t_get_etype_info.py |   63 ++++++++++++
 src/lib/krb5/libkrb5.exports         |    1 +
 src/lib/krb5_32.def                  |    1 +
 11 files changed, 413 insertions(+), 7 deletions(-)



More information about the krb5-bugs mailing list