Get OpenSSL to put its random seedfile inside XDG_CACHE_HOME instead of polluting ~

This commit is contained in:
Danielle McLean 2017-09-11 09:12:57 +10:00
parent a8eddde979
commit b4c985eac8
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

4
config/zsh/login/openssl Normal file
View file

@ -0,0 +1,4 @@
#! zsh
: ${RANDFILE:=$XDG_CACHE_HOME/openssl/rnd}
mkdir -p $XDG_CACHE_HOME/openssl
export RANDFILE