Remove sha224 from supported client cert hash algs

This is no longer supported by platform

Change-Id: I39cbb1a718bcbe0bd9e0ccff9b9cae4fdddcaccf
changes/07/570607/1
Anna Khmelnitsky 5 years ago
parent 734270d9e9
commit e9ab1fcd8d

@ -289,7 +289,7 @@ class NsxV3ClientCertificateTestCase(nsxlib_testcase.NsxClientTestCase):
'subject': {}},
{'key_size': 4096,
'valid_for_days': 100,
'signature_alg': 'sha',
'signature_alg': 'sha224',
'subject': {}}]
for args in bad_cert_values:

@ -44,7 +44,7 @@ def validate_cert_params(key_size, valid_for_days,
{'value': key_size,
'list': expected_key_sizes})
expected_signature_algs = ('sha224', 'sha256')
expected_signature_algs = ('sha256')
if signature_alg not in expected_signature_algs:
raise nsxlib_exceptions.NsxLibInvalidInput(
error_message=_('Invalid signature algorithm %(value)s'

Loading…
Cancel
Save