diff --git a/create-attributable-archive.sh b/create-attributable-archive.sh index 062b6f2..27cba66 100755 --- a/create-attributable-archive.sh +++ b/create-attributable-archive.sh @@ -88,6 +88,10 @@ reset() { find "$dir" -mindepth 1 -type d -exec srm -r -z -l -l "{}" \; checkcode $? + printf "finding and shredding erronious files in ${dir}..." + find "$dir" -type f \( -name "private_ed25519_*" -o -name "attribution_passphrase_*" \) -exec shred -uz "{}" \; + checkcode $? + printf "changing perms of files in $dir to 600..." find "$dir" -type f -exec chmod 600 "{}" \; checkcode $?