From fc63e24dcff6974880ca3f56f473f3dfe7e0a8be Mon Sep 17 00:00:00 2001 From: Dan Slimmon Date: Mon, 14 Mar 2016 18:53:29 +0000 Subject: [PATCH] Warn user if there isn't a secure deletion utility Otherwise, somebody with neither shred nor srm installed could blithely go on using Blackbox assuming that their working copies are getting securely deleted. --- bin/_blackbox_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index 9e58c43..642e56a 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -273,6 +273,7 @@ function shred_file() { CMD=srm OPT=-f else + echo "shred_file: WARNING: No secure deletion utility (shred or srm) present; using insecure rm" CMD=rm OPT=-f fi