summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-08 09:12:00 +0100
committerErich Eckner <git@eckner.net>2017-11-08 09:12:00 +0100
commitce66273990b81aa82553eefba681bf881934d814 (patch)
tree280b3caccb2dd05ac12876ecbf6e7b01dcf49511
parent7134ed35d63b30273f19259c60fdf0fba70f0128 (diff)
downloadpasswort-tresor-ce66273990b81aa82553eefba681bf881934d814.tar.xz
passwort-tresor: shred before removal
-rw-r--r--passwort-tresor.in1
1 files changed, 1 insertions, 0 deletions
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