Skip to content

Pass file.managed kws in x509.certificate_managed_wrapper - #69956

Open
lkubb wants to merge 3 commits into
saltstack:3008.xfrom
lkubb:x509_v2-wrapper-file-args
Open

Pass file.managed kws in x509.certificate_managed_wrapper#69956
lkubb wants to merge 3 commits into
saltstack:3008.xfrom
lkubb:x509_v2-wrapper-file-args

Conversation

@lkubb

@lkubb lkubb commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Ensures kwargs to file.managed are passed correctly.
  • Fixes ssh_pki test analog.
  • Corrects ssh_pki test requirements/adds one test there.

What issues does this PR fix or reference?

Fixes: #69954

Previous Behavior

file.managed kwargs in certificate_managed were swallowed by x509.certificate_managed_wrapper.

New Behavior

file.managed kwargs are passed as expected

Merge requirements satisfied?

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

Commits signed with GPG?

Yes

lkubb added 3 commits August 4, 2026 09:32
The previous test for file.managed args could not have succeeded,
apparently it wasn't run in CI.
bcrypt is only required for handling encrypted private keys, which were
not tested in the ssh_pki.certificate_managed_wrapper tests so far.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: x509.certificate_managed_wrapper SSH wrapper swallows file.managed args for cert

2 participants