Skip to content

GPG: Attempt update if subkey is expired#69195

Open
lkubb wants to merge 1 commit into
saltstack:3008.xfrom
lkubb:fix-gpg-subkey-refresh
Open

GPG: Attempt update if subkey is expired#69195
lkubb wants to merge 1 commit into
saltstack:3008.xfrom
lkubb:fix-gpg-subkey-refresh

Conversation

@lkubb
Copy link
Copy Markdown
Contributor

@lkubb lkubb commented May 19, 2026

What does this PR do?

Makes gpg.present key refresh behavior account for expired subkeys.

Key refreshes were added in 3008 only (via #66316), which should have included this behavior from the start. For this reason, I'm considering this PR a follow-up fix to a previously unreleased PR and hence did not create a changelog fragment.

What issues does this PR fix or reference?

Ref: #66314

Previous Behavior

Expired subkeys do not lead to key update

New Behavior

Recently expired subkeys lead to a key refresh attempt

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant