[krbdev.mit.edu #8587] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8587] git commit

Greg Hudson via RT-2

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.

[[hidden email]: renamed API to krb5_get_etype_info() and adjusted
behavior]

https://github.com/krb5/krb5/commit/c67c0e1a446d2230a1daa28ab058e37e5c6f4734
Author: Mubashir Kazia <[hidden email]>
Committer: Greg Hudson <[hidden email]>
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(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs