[16937] in Kerberos-V5-bugs
[krbdev.mit.edu #9122] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon May 6 18:25:34 2024
From: "Greg Hudson via RT" <rt-comment@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-933770-1715034329-1379.9122-4-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9122":;
Date: Mon, 06 May 2024 18:25:29 -0400
MIME-Version: 1.0
Reply-To: rt-comment@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
Mon May 06 18:25:29 2024: Request 9122 was acted upon.
Transaction: Ticket created by ghudson@mit.edu
Queue: krb5
Subject: git commit
Owner: ghudson@mit.edu
Requestors:
Status: new
Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9122 >
Add GSS flag to include KERB_AP_OPTIONS_CBT
The Microsoft KERB_AP_OPTIONS_CBT extension (defined in [MS-KILE]
3.2.5.8) allows the client to request strict enforcement of GSS
channel bindings. Client support for this extension was added in
commit 225e6ef7f021cd1a8ef2a054af0ca58b7288fd81 (ticket 8900) but it
requires a configuration variable to be set. The choice to include
the extension should be made by the client application code, as it is
a promise to include channel bindings when operating within TLS.
In libkrb5, add an option AP_OPTS_CBT_FLAG to make
krb5_mk_req[_extended]() include KERB_AP_OPTIONS_CBT. In the GSS
initiator code, set this flag when the GSS_C_CHANNEL_BOUND flag is
included in the request options. GSS_C_CHANNEL_BOUND was introduced
in commit 429a31146083fac21958631c2af572b08ec91022 (ticket 8899) as an
acceptor output flag.
[ghudson@mit.edu: rewrote commit message; adjusted some names;
simplified GSS initiator bookkeeping; added documentation]
https://github.com/krb5/krb5/commit/6b74b6c18feab1f3d72d00ae412a93c6bfa4a00a
Author: Stefan Metzmacher <metze@samba.org>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 6b74b6c18feab1f3d72d00ae412a93c6bfa4a00a
Branch: master
doc/appdev/gssapi.rst | 36 ++++++++++++++++++++++++++++++++++
doc/appdev/refs/macros/index.rst | 1 +
src/include/krb5/krb5.hin | 2 +-
src/lib/gssapi/krb5/init_sec_context.c | 11 ++++++++---
src/lib/krb5/krb/mk_req_ext.c | 21 ++++++++++++--------
src/tests/gssapi/t_bindings.c | 31 ++++++++++++++++++++---------
src/tests/gssapi/t_bindings.py | 18 +++++++++++++++++
7 files changed, 99 insertions(+), 21 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs