Expand description
GSSAPI/Kerberos authentication for EST endpoints.
Implements the Authorization: Negotiate (SPNEGO) authentication
mechanism, following the same pattern as Akamu’s GSSAPI support.
When the gssapi feature is enabled, Kerberos tickets are
cryptographically verified via the system’s GSS-API library
(libgssapi crate wrapping libgssapi_krb5.so). Without the
feature, only structural parsing of the SPNEGO token is available
(extracting the service name from the cleartext ticket fields).
Channel binding to the TLS session (tls-server-end-point, RFC 5929) is supported to prevent credential forwarding attacks.
Structs§
- Negotiate
OutToken - Request extension carrying the GSSAPI mutual-auth output token.
- TlsChannel
Binding - TLS channel binding data (tls-server-end-point, RFC 5929).
Functions§
- negotiate_
challenge - Build a 401 response with a
WWW-Authenticate: Negotiatechallenge. - server_
end_ point - RFC5929 tls-server-end-point: hash the serving certificate using its signature hash, upgrading legacy MD5/SHA1 to SHA256.
- try_
extract_ gssapi - Attempt to extract and validate GSSAPI/SPNEGO credentials.