mayhappenz
This commit is contained in:
+3
-1
@@ -16,6 +16,8 @@ out/content/*
|
|||||||
*/*.7z
|
*/*.7z
|
||||||
*/*.sha512
|
*/*.sha512
|
||||||
*/*.sha256
|
*/*.sha256
|
||||||
*/private_*
|
*/.private_*
|
||||||
|
*.attribution_*
|
||||||
*/*.sig
|
*/*.sig
|
||||||
|
*/checksums.txt
|
||||||
anonymous_signer
|
anonymous_signer
|
||||||
|
|||||||
@@ -239,12 +239,12 @@ read -r random
|
|||||||
if [[ -z "$random" || "$random" =~ ^[nN]$ ]]; then
|
if [[ -z "$random" || "$random" =~ ^[nN]$ ]]; then
|
||||||
echo -e "No random data added. ${GREEN}OK!${RESET}\n"
|
echo -e "No random data added. ${GREEN}OK!${RESET}\n"
|
||||||
else
|
else
|
||||||
printf 'random: adding 1/2 random blocks of data (128 bytes) to outer archive...\n'
|
printf 'random: adding 1/2 random blocks of data (32 bytes) to outer archive...\n'
|
||||||
openssl rand -out "$out_dir/.$RANDOM" 16 >/dev/null 2>&1
|
openssl rand -out "$out_dir/.$RANDOM" 32 >/dev/null 2>&1
|
||||||
checkcode $?
|
checkcode $?
|
||||||
|
|
||||||
printf 'random: adding 2/2 random blocks of data (128 bytes) to inner archive...\n'
|
printf 'random: adding 2/2 random blocks of data (32 bytes) to inner archive...\n'
|
||||||
openssl rand -out "$inner_dir/.$RANDOM" 16 >/dev/null 2>&1
|
openssl rand -out "$inner_dir/.$RANDOM" 32 >/dev/null 2>&1
|
||||||
checkcode $?
|
checkcode $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user