handled cfssl-key type error
This commit is contained in:
parent
8e04aa1bd3
commit
8be8c95b17
@ -56,7 +56,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
|
||||
try:
|
||||
hex_key = current_app.config.get("CFSSL_KEY")
|
||||
key = bytes.fromhex(hex_key)
|
||||
except (ValueError, NameError):
|
||||
except (ValueError, NameError, TypeError):
|
||||
# unable to find CFSSL_KEY in config, continue using normal sign method
|
||||
pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user