diff --git a/dots/bin/deployGnupgKeys.sh b/dots/bin/deployGnupgKeys.sh index fa15b95..757eb5d 100644 --- a/dots/bin/deployGnupgKeys.sh +++ b/dots/bin/deployGnupgKeys.sh @@ -65,12 +65,10 @@ if [[ ${user_input} == "y" ]]; then echo "please, remember the hint: poq.l2" gpg -d ${trg_gnupg_dir}/${the_file} > ${trg_gnupg_dir}/private-keys-v1.d.7z 7za x ${trg_gnupg_dir}/private-keys-v1.d.7z -o${trg_gnupg_dir} - chmod 0600 ${trg_gnupg_dir}/private-keys-v1.d/* # private keys should not be accessible by other users trash-put ${trg_gnupg_dir}/private-keys-v1.d.7z.gpg trash-put ${trg_gnupg_dir}/private-keys-v1.d.7z - else echo "no worries. you can manually unpack and decrypt the file, if needed:" echo "gpg -d private-keys-v1.d.7z.gpg > private-keys-v1.d.7z"