diff --git a/dots/bin/deployGnupgKeys.sh b/dots/bin/deployGnupgKeys.sh index 7d3e954..7f8f8fe 100644 --- a/dots/bin/deployGnupgKeys.sh +++ b/dots/bin/deployGnupgKeys.sh @@ -60,7 +60,8 @@ read user_input if [[ ${user_input} == "y" ]]; then echo "yes" echo "please, remember the hint: poq.l2" - gpg -d ${trg_gnupg_dir}/id_rsa.gpg > ${trg_gnupg_dir}/id_rsa + gpg -d ${trg_gnupg_dir}/${the_file} > ${trg_gnupg_dir}/private-keys-v1.d.7z + 7za x private-keys-v1.d.7z #chmod 0600 ${trg_gnupg_dir}/id_rsa # id_rsa can not be accessible by other users else echo "no worries. you can manually unpack and decrypt the file, if needed:"