Browse Source

add certificate descriptor to CAManager

master
Edoardo Putti 8 years ago
parent
commit
f9c4013af2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ca_manager.py

+ 2
- 1
ca_manager.py View File

@ -11,7 +11,7 @@ import sqlite3
import tempfile import tempfile
from paths import * from paths import *
from lookup import CALookup, RequestLookup
from lookup import CALookup, RequestLookup, CertificateLookup
__doc__= """ __doc__= """
Define classes to interact with certificate requests and Certification Authority Define classes to interact with certificate requests and Certification Authority
@ -26,6 +26,7 @@ class CAManager(object):
self.path = path self.path = path
self.ca = CALookup(self.ssh_ca_dir, self.ssl_ca_dir) self.ca = CALookup(self.ssh_ca_dir, self.ssl_ca_dir)
self.request = RequestLookup() self.request = RequestLookup()
self.certificate = CertificateLookup()
def __enter__(self): def __enter__(self):
""" """


Loading…
Cancel
Save