[krbdev.mit.edu #9254] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Oct 30 02:06:12 EDT 2026


Fri Oct 30 02:06:12 2026: Request 9254 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=9254 >



Skip expired keys when iterating a KEYRING ccache

In krcc_next_cred(), if keyctl_read_alloc() fails with EKEYEXPIRED,
skip it and move on to the next key in the keyring.  This can happen
if a credential in the cache expires before the whole cache expires,
because for a period of time after a key expires, the key still exists
in the keyring but cannot be accessed.  Reported by Ao Shen.

https://github.com/krb5/krb5/commit/2001f37638ae80da640a9c2e959ac666cdfa2ad7
Author: Greg Hudson <ghudson at mit.edu>
Commit: 2001f37638ae80da640a9c2e959ac666cdfa2ad7
Branch: master
 src/lib/krb5/ccache/cc_keyring.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list