[17145] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9254] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Fri Oct 30 13:03:45 2026

From: "Greg Hudson via RT" <rt-comment@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-1752468-1793340372-936.9254-4-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9254":;
Date: Fri, 30 Oct 2026 02:06:12 -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


Fri Oct 30 02:06:12 2026: Request 9254 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=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@mit.edu>
Commit: 2001f37638ae80da640a9c2e959ac666cdfa2ad7
Branch: master
 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

home help back first fref pref prev next nref lref last post