From f6380e766893d7fca62ce962afd3e31588060b05 Mon Sep 17 00:00:00 2001 From: LeeW Date: Thu, 30 Jan 2025 17:07:56 +0100 Subject: [PATCH] automates listing of keyfiles --- __update_sops.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__update_sops.sh b/__update_sops.sh index 9f64109..50cfe09 100755 --- a/__update_sops.sh +++ b/__update_sops.sh @@ -1,6 +1,7 @@ #/usr/bin/env bash - +# Purpose: manage .sops.yaml based on gpg keys in the same dir set -euo pipefail +# sops.yaml doc: https://github.com/getsops/sops?tab=readme-ov-file#using-sops-yaml-conf-to-select-kms-pgp-and-age-for-new-files function fn_extract_fpr(){ gpgkeyfile=$1;shift;