This commit is contained in:
committer
2024-06-05 15:01:13 -05:00
parent ec14784a27
commit 0bae514220

View File

@@ -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:"