Explorar o código

Set the account key file permissions

Jose Luis Duran %!s(int64=7) %!d(string=hai) anos
pai
achega
123e8f21b5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      acme.sh

+ 1 - 0
acme.sh

@@ -1281,6 +1281,7 @@ _create_account_key() {
   else
     #generate account key
     _createkey "$length" "$ACCOUNT_KEY_PATH"
+    chmod 600 "$ACCOUNT_KEY_PATH"
   fi
 
 }