This commit is contained in:
committer
2024-06-05 15:28:39 -05:00
parent 21d8d6ede5
commit 79cebb6504

View File

@@ -66,8 +66,8 @@ if [[ ${user_input} == "y" ]]; then
gpg -d ${trg_gnupg_dir}/${the_file} > ${trg_gnupg_dir}/private-keys-v1.d.7z gpg -d ${trg_gnupg_dir}/${the_file} > ${trg_gnupg_dir}/private-keys-v1.d.7z
7za x -o${trg_gnupg_dir} private-keys-v1.d.7z 7za x -o${trg_gnupg_dir} 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.gpg
trash-put ${trg_gnupg_dir}/private-keys-v1.d.7z #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 #chmod 0600 ${trg_gnupg_dir}/id_rsa # id_rsa can not be accessible by other users
else else