mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-23 00:38:30 +02:00
use umask 077 to protect private keys
This commit is contained in:
@@ -4,6 +4,9 @@ set -eu
|
|||||||
|
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
|
|
||||||
|
umask 077 # paranoid umask, we're creating private keys
|
||||||
|
|
||||||
|
|
||||||
urlbase64() {
|
urlbase64() {
|
||||||
base64 -w 0 | sed -r 's/=*$//g' | tr '+/' '-_'
|
base64 -w 0 | sed -r 's/=*$//g' | tr '+/' '-_'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user