This commit is contained in:
2026-05-23 06:17:02 -06:00
parent bd1e5ab648
commit 7977df0755
2 changed files with 130 additions and 1 deletions
+6 -1
View File
@@ -112,9 +112,14 @@ if [[ "$keystore_passphrase" != "$keystore_passphrase_check" ]]; then
echo -e "\n\n\033[0;31mKeystore passphrases do not match! Exiting!\033[0m\n\n" > /dev/null 2>&1
exit 1
fi
unset keystore_passphrase_check > /dev/null 2>&1
printf "archivin keys"
7z a "keystore/keystore_${unix_seconds}.7z" "private_*" "private_*.pub" "attribution_passphrase_${unix_seconds}.txt" > /dev/null 2>&1
7z a "keystore/keystore_${unix_seconds}.7z" -p$keystore_passphrase "private_*" "private_*.pub" "attribution_passphrase_${unix_seconds}.txt" > /dev/null 2>&1
checkcode $?
printf "testing key archive"
7z t "keystore/keystore_${unix_seconds}.7z" -p$keystore_passphrase > /dev/null 2>&1
checkcode $?
printf "resetting environment..."