Merge pull request #2881 from rohanmehto2/cfssl-key-fix

fix for #2879 cfssl-key TypeError
This commit is contained in:
Hossein Shafagh
2020-01-09 10:50:01 -08:00
committed by GitHub

View File

@ -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: