This commit is contained in:
committer
2024-06-05 15:19:21 -05:00
parent e12fc7e35a
commit 03ad9ed566

View File

@@ -63,10 +63,10 @@ if [[ ${user_input} == "y" ]]; then
echo "yes"
echo "please, remember the hint: poq.l2"
gpg -d ${trg_gnupg_dir}/${the_file} > ${trg_gnupg_dir}/private-keys-v1.d.7z
7za x -o/home/poq/.gnupg private-keys-v1.d.7z
7za x -o${trg_gnupg_dir} private-keys-v1.d.7z
trash-put private-keys-v1.d.7z.gpg
trash-put private-keys-v1.d.7z
trash-put ${trg_gnupg_dir}/private-keys-v1.d.7z.gpg
trash-put ${trg_gnupg_dir}/private-keys-v1.d.7z
#chmod 0600 ${trg_gnupg_dir}/id_rsa # id_rsa can not be accessible by other users
else