[krbdev.mit.edu #9289] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Tue Nov 17 16:27:09 EST 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9289 >


Fix caching of user-to-user tickets

In krb5int_process_tgs_reply(), set is_skey to 0 or 1, not 0 or
KDC_OPT_ENC_TKT_IN_SKEY (8), so that the stored credential matches a
krb5_getcredentials() request with KRB5_GC_USER_USER set.

This bug was introduced in release 1.17 by commit
6d8c598d7c226b0fb594892b261386c37b47da1e (ticket 8721), which changed
krb5int_process_tgs_reply() and kdcrep2creds() to set the is_skey
field based on KDC flags rather than the presence of a second ticket.

[ghudson at mit.edu: rewrote commit message and test script comment]

(cherry picked from commit 5966c6bc23d4d6e59c6a6bf70eed99cb589d7500)

https://github.com/krb5/krb5/commit/dd4c61d9296a2bf6c9fe82e736b729c5445dc2e4
Author: William Gross <wgross1172 at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: dd4c61d9296a2bf6c9fe82e736b729c5445dc2e4
Branch: krb5-1.22
 src/lib/krb5/krb/gc_via_tkt.c | 2 +-
 src/tests/t_u2u.py            | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)



More information about the krb5-bugs mailing list