Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.507 (Entity 5.507) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 1242 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@mit.edu: renamed API to krb5_get_etype_info() and adjusted behavior] https://github.com/krb5/krb5/commit/c67c0e1a446d2230a1daa28ab058e37e5c6f4734 Author: Mubashir Kazia Committer: Greg Hudson 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(-)