keys: Fix overwrite of key expiration on instantiation
Merge Request Required Information
Summary of Changes
JIRA: https://issues.redhat.com/browse/RHEL-39708
CVE: CVE-2024-36031
Fix accidental reset of kernel key expiration time when instantiating a key, which prevents cached DNS records from expiring.
Signed-off-by: David Howells dhowells@redhat.com
Approved Development Ticket
All submissions to CentOS Stream must reference an approved ticket in Red Hat Jira. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.
Edited by David Howells