[krbdev.mit.edu #9289] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Nov 17 15:21:33 EST 2026


Tue Nov 17 15:21:33 2026: Request 9289 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <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]

https://github.com/krb5/krb5/commit/5966c6bc23d4d6e59c6a6bf70eed99cb589d7500
Author: William Gross <wgross1172 at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 5966c6bc23d4d6e59c6a6bf70eed99cb589d7500
Branch: master
 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