|
|
|
@ -113,6 +113,7 @@ fn_sops_updatekeys_and_verify(){
|
|
|
|
GPG_TTY=$(tty) sops -d "${sops_enc_file}"
|
|
|
|
GPG_TTY=$(tty) sops -d "${sops_enc_file}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function main(){
|
|
|
|
# "anchor" for actions relevant to this script
|
|
|
|
# "anchor" for actions relevant to this script
|
|
|
|
repo_root="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)"
|
|
|
|
repo_root="$(realpath $(dirname "${BASH_SOURCE[0]}")/..)"
|
|
|
|
# OPTIONS: ARGPARSING and VALIDATION
|
|
|
|
# OPTIONS: ARGPARSING and VALIDATION
|
|
|
|
@ -207,5 +208,7 @@ if [[ "${#secrets_file_list[@]}" != "0" ]]; then
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "# WARN: no secrets file passed in, make sure to call 'sops updatekeys' on secrets files"
|
|
|
|
echo "# WARN: no secrets file passed in, make sure to call 'sops updatekeys' on secrets files"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main "${@}"
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
|