minor fixes
This commit is contained in:
parent
5569b30543
commit
922355de8a
|
|
@ -13,7 +13,7 @@ defaults_certs:
|
||||||
name:
|
name:
|
||||||
key_size: 4096 # 1024, 2048, 4096
|
key_size: 4096 # 1024, 2048, 4096
|
||||||
key_type: 'ECC'
|
key_type: 'ECC'
|
||||||
curve: 'secp256r1'
|
curve: 'prime256v1'
|
||||||
cipher: 'auto'
|
cipher: 'auto'
|
||||||
digest: 'sha256'
|
digest: 'sha256'
|
||||||
regenerate: 'partial_idempotence'
|
regenerate: 'partial_idempotence'
|
||||||
|
|
@ -72,7 +72,7 @@ defaults_certs:
|
||||||
valid_days: 7300
|
valid_days: 7300
|
||||||
key_size: 8192 # 1024, 2048, 4096, 8192
|
key_size: 8192 # 1024, 2048, 4096, 8192
|
||||||
key_type: 'ECC'
|
key_type: 'ECC'
|
||||||
curve: 'secp256r1'
|
curve: 'prime256v1'
|
||||||
cipher: 'auto'
|
cipher: 'auto'
|
||||||
digest: 'sha512'
|
digest: 'sha512'
|
||||||
regenerate: 'partial_idempotence'
|
regenerate: 'partial_idempotence'
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,9 @@ class FilterModule(object):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def ensure_list(data: (str, dict, list)) -> list:
|
def ensure_list(data: (str, dict, list)) -> list:
|
||||||
# if user supplied a string instead of a list => convert it to match our expectations
|
# if user supplied a string instead of a list => convert it to match our expectations
|
||||||
|
if data is None:
|
||||||
|
return []
|
||||||
|
|
||||||
if isinstance(data, list):
|
if isinstance(data, list):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue