mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
api: ocsp: Fix logger
This commit is contained in:
parent
f6c0e1ae85
commit
8626d78b5c
@ -1,6 +1,7 @@
|
|||||||
import click
|
import click
|
||||||
import falcon
|
import falcon
|
||||||
import hashlib
|
import hashlib
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
from asn1crypto.util import timezone
|
from asn1crypto.util import timezone
|
||||||
from asn1crypto import cms, algos, x509, ocsp
|
from asn1crypto import cms, algos, x509, ocsp
|
||||||
@ -13,6 +14,8 @@ from oscrypto import keys, asymmetric, symmetric
|
|||||||
from oscrypto.errors import SignatureError
|
from oscrypto.errors import SignatureError
|
||||||
from .utils import AuthorityHandler
|
from .utils import AuthorityHandler
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class OCSPResource(AuthorityHandler):
|
class OCSPResource(AuthorityHandler):
|
||||||
@whitelist_subnets(config.OCSP_SUBNETS)
|
@whitelist_subnets(config.OCSP_SUBNETS)
|
||||||
def __call__(self, req, resp):
|
def __call__(self, req, resp):
|
||||||
|
Loading…
Reference in New Issue
Block a user