]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add replace_reply_key kdcpreauth callback
authorGreg Hudson <ghudson@mit.edu>
Thu, 13 Jan 2022 17:58:32 +0000 (12:58 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 27 Jan 2022 06:52:24 +0000 (01:52 -0500)
commitff57dc682a27bd205d715f3c0bed84890f2453c4
treeb10a131b40391df386c6f02759be55884e603982
parent727627036ccba5f1c4c2b9ce6949fdc3172fc684
Add replace_reply_key kdcpreauth callback

Provide an explicit way for kdcpreauth modules to replace the reply
key, and internally track when the reply key is fully replaced (as
opposed to strengthened by replacing it with a derivative of the
client long-term key).  Use this facility in the FAST OTP, PKINIT, and
SPAKE kdcpreauth modules.

ticket: 9049 (new)
src/include/krb5/kdcpreauth_plugin.h
src/kdc/do_as_req.c
src/kdc/kdc_preauth.c
src/kdc/kdc_util.h
src/plugins/preauth/otp/main.c
src/plugins/preauth/pkinit/pkinit_srv.c
src/plugins/preauth/spake/spake_kdc.c