mayhappenz

This commit is contained in:
2026-06-13 15:32:25 -06:00
parent b9ce826c3c
commit 7a5d10ad45
2 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -16,6 +16,8 @@ out/content/*
*/*.7z
*/*.sha512
*/*.sha256
*/private_*
*/.private_*
*.attribution_*
*/*.sig
*/checksums.txt
anonymous_signer
+4 -4
View File
@@ -239,12 +239,12 @@ read -r random
if [[ -z "$random" || "$random" =~ ^[nN]$ ]]; then
echo -e "No random data added. ${GREEN}OK!${RESET}\n"
else
printf 'random: adding 1/2 random blocks of data (128 bytes) to outer archive...\n'
openssl rand -out "$out_dir/.$RANDOM" 16 >/dev/null 2>&1
printf 'random: adding 1/2 random blocks of data (32 bytes) to outer archive...\n'
openssl rand -out "$out_dir/.$RANDOM" 32 >/dev/null 2>&1
checkcode $?
printf 'random: adding 2/2 random blocks of data (128 bytes) to inner archive...\n'
openssl rand -out "$inner_dir/.$RANDOM" 16 >/dev/null 2>&1
printf 'random: adding 2/2 random blocks of data (32 bytes) to inner archive...\n'
openssl rand -out "$inner_dir/.$RANDOM" 32 >/dev/null 2>&1
checkcode $?
fi