]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add API to retrieve etype-info from KDC
authorMubashir Kazia <mkazia@gmail.com>
Sat, 24 Jun 2017 19:47:53 +0000 (19:47 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 4 Oct 2018 16:54:18 +0000 (12:54 -0400)
commitc67c0e1a446d2230a1daa28ab058e37e5c6f4734
tree240e6435b9a5fef0757b921208de5c135bf2fffa
parent64eece071583f52b0eca8285848ab2746c14a769
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]

ticket: 8587
.gitignore
doc/appdev/refs/api/index.rst
src/include/krb5/krb5.hin
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/get_etype_info.c [new file with mode: 0644]
src/lib/krb5/krb/int-proto.h
src/lib/krb5/krb/preauth2.c
src/lib/krb5/krb/t_get_etype_info.c [new file with mode: 0644]
src/lib/krb5/krb/t_get_etype_info.py [new file with mode: 0644]
src/lib/krb5/libkrb5.exports
src/lib/krb5_32.def