From b4c985eac8964a6904be39a5c9563c572ee72ce3 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 11 Sep 2017 09:12:57 +1000 Subject: [PATCH] Get OpenSSL to put its random seedfile inside XDG_CACHE_HOME instead of polluting ~ --- config/zsh/login/openssl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 config/zsh/login/openssl diff --git a/config/zsh/login/openssl b/config/zsh/login/openssl new file mode 100644 index 0000000..9fc6860 --- /dev/null +++ b/config/zsh/login/openssl @@ -0,0 +1,4 @@ +#! zsh +: ${RANDFILE:=$XDG_CACHE_HOME/openssl/rnd} +mkdir -p $XDG_CACHE_HOME/openssl +export RANDFILE