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
commit a65c4c94a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: