diff --git a/bin/update_sops.sh b/bin/update_sops.sh index f905c58..f2bf8cf 100755 --- a/bin/update_sops.sh +++ b/bin/update_sops.sh @@ -113,7 +113,8 @@ fn_sops_updatekeys_and_verify(){ # "update the keys of SOPS files using the config file" >&2 echo "# RUN: sops updatekeys ${sops_enc_file}" - sops updatekeys "${sops_enc_file}" + # HAAAACK: loop through all passed-in files, ignore any errors, always say "yes" -> rely on git diff to verify! + sops updatekeys -y "${sops_enc_file}" || echo "SKIPPING" } function main(){