(MODULES-10831) key is expired if all subkeys are expired
authorKenyon Ralph <quic_kralph@quicinc.com>
Sat, 22 Apr 2023 18:51:29 +0000 (11:51 -0700)
committerKenyon Ralph <quic_kralph@quicinc.com>
Wed, 3 May 2023 22:51:06 +0000 (15:51 -0700)
commitcd315457372a8f7d642c49c2ac5d64854da639c6
tree8553b1696eebb98cf63220cba697027bd0839901
parentdb8f26087b2259b9108ed620d38c36f41178d03f
(MODULES-10831) key is expired if all subkeys are expired

Previously, subkeys were not considered at all in the determination of
whether a key was expired. Now this looks at all of the subkeys, and if
they are all expired, considers the whole key expired.
lib/puppet/provider/apt_key/apt_key.rb
spec/unit/puppet/provider/apt_key_spec.rb