commit 2480c892107a7786a93050f7b0df105fc833651e
parent 99581a5faab2f5dafa920879e62a8b7d23511512
Author: Jaromil <jaromil@dyne.org>
Date: Sun, 23 Nov 2014 18:26:06 +0100
small security measure against exporting all vars
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/tomb b/tomb
@@ -64,6 +64,9 @@ PINENTRY=(pinentry)
zmodload zsh/regex
zmodload zsh/mapfile
+# make sure variables aren't exported
+unsetopt allexport
+
# Flag optional commands if available (see _ensure_dependencies())
typeset -i KDF=1
typeset -i STEGHIDE=1