This commit is contained in:
committer
2024-06-05 15:47:28 -05:00
parent 4b0c0b756c
commit 8d792c8969

View File

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