mirror of
https://github.com/laurivosandi/certidude
synced 2025-09-08 14:30:57 +00:00
api: ocsp: Fix logger
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user