mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-29 21:31:47 +02:00
use umask 077 to protect private keys
This commit is contained in:
@@ -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