use shred instead of wipe

This commit is contained in:
parazyd 2017-11-01 10:43:51 +01:00
parent fa1049e8f0
commit c8be1c22dd
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ all:
@echo "To install it in /usr/local together with its manpage use 'make install'."
@echo
@echo "To run Tomb one needs to have some tools installed on the system:"
@echo "Sudo, cryptsetup, pinentry and gnupg. Also wipe is recommended."
@echo "Sudo, cryptsetup, pinentry and gnupg."
@echo
install:

4
tomb
View File

@ -781,7 +781,7 @@ function _print() {
_list_optional_tools() {
typeset -a _deps
_deps=(gettext dcfldd wipe steghide)
_deps=(gettext dcfldd shred steghide)
_deps+=(resize2fs tomb-kdb-pbkdf2 qrencode swish-e unoconv lsof)
for d in $_deps; do
_print "`which $d`"
@ -811,7 +811,7 @@ _ensure_dependencies() {
command -v dcfldd 1>/dev/null 2>/dev/null && DD=(dcfldd statusinterval=1)
# Which wipe command to use
command -v wipe 1>/dev/null 2>/dev/null && WIPE=(wipe -f -s)
command -v shred 1>/dev/null 2>/dev/null && WIPE=(shred -f -u)
# Check for lsof for slamming tombs
command -v lsof 1>/dev/null 2>/dev/null || LSOF=0