From 167d0cbdfd85c2e5ef7f2e4d9b674c889e637370 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Sat, 3 Feb 2018 13:22:12 +0200 Subject: [PATCH] api: ocsp: Drop unused imports --- certidude/api/ocsp.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/certidude/api/ocsp.py b/certidude/api/ocsp.py index 8124a09..b9f0b15 100644 --- a/certidude/api/ocsp.py +++ b/certidude/api/ocsp.py @@ -1,17 +1,13 @@ -import click import falcon -import hashlib import logging import os from asn1crypto.util import timezone -from asn1crypto import cms, algos, x509, ocsp -from base64 import b64decode, b64encode -from certbuilder import pem_armor_certificate -from certidude import push, config +from asn1crypto import ocsp +from base64 import b64decode +from certidude import config from certidude.firewall import whitelist_subnets -from datetime import datetime, timedelta -from oscrypto import keys, asymmetric, symmetric -from oscrypto.errors import SignatureError +from datetime import datetime +from oscrypto import asymmetric from .utils import AuthorityHandler logger = logging.getLogger(__name__)