-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eval: fix showSecrets in CheckEnvironment (#364)
eval: fix showSecrets in CheckEnvironment These changes fix a bug in `CheckEnvironment` when `showSecrets` is `false`. In this case, if the environment loader supplied a decrypter for an imported environment, the imported environment's secrets would be decrypted, violating the `showSecrets` contract. In order to address this issue, these changes store and propagate the value of `showSecrets` in the evaluator's context.
- Loading branch information
Showing
4 changed files
with
671 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
imports: | ||
- test-base | ||
values: | ||
password: | ||
fn::secret: | ||
ciphertext: ZXNjeAAAAAHo9e705fKyKo30VQ== |
Oops, something went wrong.