From a1fc11374310b8ad29292759a0a50bb4c1078aa6 Mon Sep 17 00:00:00 2001 From: LeeW Date: Thu, 30 Jan 2025 17:17:07 +0100 Subject: [PATCH] automates listing of keyfiles --- __update_sops.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__update_sops.sh b/__update_sops.sh index 50cfe09..d53edaa 100755 --- a/__update_sops.sh +++ b/__update_sops.sh @@ -26,10 +26,10 @@ function fn_extract_uid(){ echo "# Fingerprint | User Type | User ID" for gpgkeyfile in *automation*gpg.pub; do u_type="autom" - echo "$(fn_extract_fpr "${gpgkeyfile}") | ${u_type} | $(fn_extract_uid "${gpgkeyfile}")" + echo "# $(fn_extract_fpr "${gpgkeyfile}") | ${u_type} | $(fn_extract_uid "${gpgkeyfile}")" done for gpgkeyfile in $(ls *gpg.pub | grep -v automation); do u_type="human" - echo "$(fn_extract_fpr "${gpgkeyfile}") | ${u_type} | $(fn_extract_uid "${gpgkeyfile}")" + echo "# $(fn_extract_fpr "${gpgkeyfile}") | ${u_type} | $(fn_extract_uid "${gpgkeyfile}")" done echo "# keys in https://git.dev-at.de/smardigo-hetzner/communication-keys"