We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f2803 commit 0e19980Copy full SHA for 0e19980
bin/common.bash
@@ -576,8 +576,8 @@ sops_check() {
576
577
# Write PGP fingerprints to SOPS config
578
sops_config_write_fingerprints() {
579
- cat "$(which yq)"
580
- exit 1
+ yq -n ".creation_rules[0].pgp = \"${1}\"" >"${sops_config}" ||
+ (log_error "ERROR: Failed to write fingerprints" && rm "${sops_config}" && exit 1)
581
}
582
583
# Encrypt stdin to file. If the file already exists it's overwritten.
0 commit comments