[17163] in Kerberos-V5-bugs
[krbdev.mit.edu #9254] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Nov 3 19:17:49 2026
From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-2371579-1793751464-998.9254-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9254":;
Date: Tue, 03 Nov 2026 19:17:44 -0500
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
<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.
(cherry picked from commit 2001f37638ae80da640a9c2e959ac666cdfa2ad7)
https://github.com/krb5/krb5/commit/d6100a84f392d6ee746b505b5ffdcbdf28c29ae4
Author: Greg Hudson <ghudson@mit.edu>
Commit: d6100a84f392d6ee746b505b5ffdcbdf28c29ae4
Branch: krb5-1.22
src/lib/krb5/ccache/cc_keyring.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs