Преглед изворни кода

changed file permissions of certificate

Fabian Peter Hammerle пре 8 година
родитељ
комит
8aa3632ffd
1 измењених фајлова са 1 додато и 1 уклоњено
  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: