Explorar o código

changed file permissions of certificate

Fabian Peter Hammerle %!s(int64=8) %!d(string=hai) anos
pai
achega
8aa3632ffd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      x509_certificate.py

+ 1 - 1
x509_certificate.py

@@ -46,7 +46,7 @@ def save_cert(path, cert):
         f.write(cert.public_bytes(
             encoding = serialization.Encoding.PEM,
             ))
-    os.chmod(path, 0600)
+    os.chmod(path, 0644)
 
 def load_key(path):
     with open(path, 'rb') as f: