Cotton 2020-01-19 20:01:02 -08:00
parent 9d86158a73
commit 60ecd3c2a3
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
dist/*
CSR_Generator.egg-info/*
*.log

View File

@ -234,7 +234,7 @@ class Certificate:
"""Parse YAML file and return object generated
"""
with open(yaml_file, 'r') as stream:
cfg = yaml.load(stream)
cfg = yaml.safe_load(stream)
return cfg
def generateKey(self, type, bits):