From ce66273990b81aa82553eefba681bf881934d814 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 8 Nov 2017 09:12:00 +0100 Subject: passwort-tresor: shred before removal --- passwort-tresor.in | 1 + 1 file changed, 1 insertion(+) diff --git a/passwort-tresor.in b/passwort-tresor.in index b8e23b5..fd7c6ae 100644 --- a/passwort-tresor.in +++ b/passwort-tresor.in @@ -207,6 +207,7 @@ then beenden 1 fi output="$(grep -2 "${suchStr}" "${tmpDir}/output" | tail -n2)" + shred -zu "${tmpDir}/output" rm -rf "${tmpDir}" echo "${output}" | head -n1 | xclip -i -- cgit v1.2.3