mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-11-16 05:41:02 +01:00
use umask 077 to protect private keys
This commit is contained in:
1 parent
fb1790cdfa
commit
181dd0ff2a
1 file changed
+3
@@ -4,6 +4,9 @@ set -eu
|
||||
|
||||
. ./config.sh
|
||||
|
||||
umask 077 # paranoid umask, we're creating private keys
|
||||
|
||||
|
||||
urlbase64() {
|
||||
base64 -w 0 | sed -r 's/=*$//g' | tr '+/' '-_'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user