diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index c83af52..044bbcd 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -202,6 +202,10 @@ function shred_file() { if which shred >/dev/null ; then CMD=shred OPT=-u + elif which srm >/dev/null ; then + #NOTE: srm by default uses 35-pass Gutmann algorithm + CMD=srm + OPT=-f else CMD=rm OPT=-f