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