From 0b3b5fa72242f0c3907ce1629f5f5b66fa599e15 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Tue, 17 Mar 2026 20:19:32 -0500 Subject: [PATCH] using symmetric encryption instead of key pair --- dots/bin/exportGpgKeysToSecrets.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/bin/exportGpgKeysToSecrets.sh b/dots/bin/exportGpgKeysToSecrets.sh index c745f9b..5e4c927 100755 --- a/dots/bin/exportGpgKeysToSecrets.sh +++ b/dots/bin/exportGpgKeysToSecrets.sh @@ -26,11 +26,11 @@ fi # zip the content timestamp=$(date +%y%m%d) -zip_file=${tmp_dir}/${timestamp}_gnupgKeys.zip +zip_file=${tmp_dir}/${timestamp}_gnupgKeys.bibL2.zip zip -r "${zip_file}" "${src_dir}/" -i "*.asc" -# gpg encrypt the content -gpg --encrypt --sign --recipient frode@klevstul.com "${zip_file}" +# gpg : symmetric encrypt the content (as we will have no key pair when decrypting) +gpg --symmetric "${zip_file}" # delete the .zip file srm -v "${zip_file}"