u
This commit is contained in:
@@ -60,7 +60,8 @@ read user_input
|
|||||||
if [[ ${user_input} == "y" ]]; then
|
if [[ ${user_input} == "y" ]]; then
|
||||||
echo "yes"
|
echo "yes"
|
||||||
echo "please, remember the hint: poq.l2"
|
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
|
#chmod 0600 ${trg_gnupg_dir}/id_rsa # id_rsa can not be accessible by other users
|
||||||
else
|
else
|
||||||
echo "no worries. you can manually unpack and decrypt the file, if needed:"
|
echo "no worries. you can manually unpack and decrypt the file, if needed:"
|
||||||
|
|||||||
Reference in New Issue
Block a user