Repository navigation
[master]gpg_decrypt_must_succeed default from False to True - #64471
Merged
cmcmarrow merged 6 commits intoJun 21, 2023
Merged
Conversation
MKLeb
previously approved these changes
Jun 12, 2023
whytewolf
previously approved these changes
Jun 12, 2023
Contributor
|
This needs to be pointed to the master branch |
cmcmarrow
dismissed stale reviews from MKLeb and whytewolf
June 16, 2023 16:16
The base branch was changed.
whytewolf
approved these changes
Jun 20, 2023
MKLeb
approved these changes
Jun 20, 2023
3 tasks done
dwoz
added a commit
to dwoz/salt
that referenced
this pull request
Jun 30, 2026
Flip the default of gpg_decrypt_must_succeed from False to True so that a GPG decryption failure raises SaltRenderError instead of silently returning the encrypted ciphertext. Without this, a locked keychain or missing private key causes file.managed (contents_pillar) to write the raw GPG-armored ciphertext to disk in place of the decrypted secret, exposing encrypted-at-rest data. 3007.x, 3008.x, and master shipped this default via PR saltstack#64471 (2023-06-21). PR saltstack#61418 backported the option to 3006.x but the default flip was not. This change brings 3006.x in line. The warn_until("Chlorine", ...) deprecation block in the gpg renderer is removed; Chlorine (3007) has shipped and the deprecation is now realized via the default. Behavior change: users who relied on silent decrypt failures must explicitly set "gpg_decrypt_must_succeed: False" in their minion or master config. Fixes saltstack#41846
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
change default from False to True for
gpg_decrypt_must_succeedWhat issues does this PR fix or reference?
Fixes: #64462
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes