Merge pull request #2881 from rohanmehto2/cfssl-key-fix
fix for #2879 cfssl-key TypeError
This commit is contained in:
commit
a65c4c94a0
|
@ -56,7 +56,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
|
||||||
try:
|
try:
|
||||||
hex_key = current_app.config.get("CFSSL_KEY")
|
hex_key = current_app.config.get("CFSSL_KEY")
|
||||||
key = bytes.fromhex(hex_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
|
# unable to find CFSSL_KEY in config, continue using normal sign method
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue