Commit f48c2e88 authored by godog's avatar godog

cleanup

parent 5040a5b2
import errno
import fcntl
import logging
import re
import os
import getpass
import random
......@@ -30,7 +29,7 @@ class CA(object):
'days': '3650', 'country': 'XX', 'crl_url': '',
'signature_algorithm': 'sha256', 'bits': '2048'}
self.config.update(config)
self.files = _CAFiles(basedir,
self.files = _CAFiles(basedir,
conf='conf/ca.conf',
public_key='public/ca.pem',
private_key='private/ca.key',
......@@ -208,4 +207,3 @@ class CA(object):
'-extfile', ext_file, '-infiles', csr_file)
finally:
shutil.rmtree(tmpdir)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment