Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add signature verification to file.managed/archive.extracted #63611

Merged
merged 7 commits into from
Dec 16, 2023

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Feb 2, 2023

What does this PR do?

Allows file.managed and archive.extracted to optionally require valid signatures on source files and/or source_hash files.

Note that this PR relies on all my previous work on the gpg modules, the diff will be much smaller once they are merged and this one is rebased:

#63168
#63162
#63179

All of them were merged and this is rebased.

What issues does this PR fix or reference?

Fixes: #63143

Previous Behavior

Signature validation is highly cumbersome (see linked issue)

New Behavior

Signature validation happens automatically, if requested

Merge requirements satisfied?

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

Commits signed with GPG?

Yes

changelog/63143.added Outdated Show resolved Hide resolved
salt/states/archive.py Outdated Show resolved Hide resolved
salt/states/file.py Outdated Show resolved Hide resolved
@lkubb lkubb mentioned this pull request Jul 26, 2023
3 tasks
@lkubb lkubb requested a review from twangboy December 12, 2023 21:13
@dwoz dwoz merged commit 627b321 into saltstack:master Dec 16, 2023
515 checks passed
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.

[FEATURE REQUEST] Simple gpg signature verification of file downloads
3 participants