kdc: support for GSS-API pre-authentication
authorLuke Howard <lukeh@padl.com>
Thu, 29 Jul 2021 02:56:10 +0000 (12:56 +1000)
committerLuke Howard <lukeh@padl.com>
Thu, 12 Aug 2021 07:37:01 +0000 (17:37 +1000)
commit49f3f5bd99cdbc538c8d28b1bdfdcb7c98726fbb
treeb3b865ff4c8a111dccb7b38803671ddd78b2452a
parent15c82996a4ac3d33beaf13b77e1b8d3efa07f8c0
kdc: support for GSS-API pre-authentication

Add support for GSS-API pre-authentication to the KDC, using a simplified
variation of draft-perez-krb-wg-gss-preauth-02 that encodes GSS-API context
tokens directly in PADATA, and uses FX-COOKIE for state management.

More information on the protocol and implementation may be found in
lib/gssapi/preauth/README.md.
40 files changed:
doc/standardisation/draft-perez-krb-wg-gss-preauth-02.txt [new file with mode: 0644]
kadmin/init.c
kdc/Makefile.am
kdc/NTMakefile
kdc/default_config.c
kdc/digest-service.c
kdc/fast.c
kdc/gss_preauth.c [new file with mode: 0644]
kdc/gss_preauth_authorizer_plugin.h [new file with mode: 0644]
kdc/headers.h
kdc/kdc.h
kdc/kdc_locl.h
kdc/kerberos5.c
kdc/negotiate_token_validator.c
kdc/windc.c
kuser/Makefile.am
kuser/kinit.1
kuser/kinit.c
kuser/kuser_locl.h
lib/asn1/krb5.asn1
lib/gssapi/Makefile.am
lib/gssapi/NTMakefile
lib/gssapi/gssapi/gssapi.h
lib/gssapi/gssapi/gssapi_preauth.h [new file with mode: 0644]
lib/gssapi/libgssapi-exports.def
lib/gssapi/mech/gss_mech_switch.c
lib/gssapi/preauth/README.md [new file with mode: 0644]
lib/gssapi/preauth/pa_client.c [new file with mode: 0644]
lib/gssapi/preauth/pa_common.c [new file with mode: 0644]
lib/gssapi/version-script.map
lib/krb5/init_creds_pw.c
lib/krb5/krb5.conf.5
lib/krb5/krb5.h
lib/krb5/krb5_err.et
lib/krb5/krb5_locl.h
lib/krb5/libkrb5-exports.def.in
lib/krb5/principal.c
lib/krb5/version-script.map
tests/kdc/check-fast.in
tests/kdc/krb5.conf.in