From 424249f6a7b8769ad8eab4bb3632710c1bad8cf2 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Wed, 18 Mar 2026 09:03:51 -0500 Subject: [PATCH] fixing the gpg key deployer (wip) --- dots/bin/importGnupgKeys.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dots/bin/importGnupgKeys.sh b/dots/bin/importGnupgKeys.sh index 3085c74..ac4e61c 100755 --- a/dots/bin/importGnupgKeys.sh +++ b/dots/bin/importGnupgKeys.sh @@ -27,15 +27,13 @@ ls -al ${src_dir} # get the first file .zip.gpg in the directory the_file=$(find . -name "*.zip.gpg" -print | head -n 1) -echo ${the_file} - -exit 1 +echo "file located: '${the_file}'" # copy .zip.gpg to tmp dir -cp ${src_dir}/*.zip.gpg ${tmp_dir} +#cp ${the_file} ${tmp_dir} # decrypt .gpg -gpg --decrypt --output ${tmp_dir}/gpgKeys.zip ${tmp_dir}/*.zip.gpg +gpg --decrypt --output ${tmp_dir}/gpgKeys.zip ${the_file} # extract .zip unzip -j -d ${tmp_dir} ${tmp_dir}/gpgKeys.zip