Many fixes to authority/certificate extensions pages (#659)

* Aligning certificate creation between authority and certificate workflows
* Correctly missing and mis-named fields in schemas
* Re-ordering KeyUsage and ExtendedKeyUsage for consistency and clarity
* Adding client authentication to the authority options.

* Missing blank lines for pyflakes linting

* Updating tests for new fields/names/typos
This commit is contained in:
Neil Schelly
2017-01-18 17:31:17 -05:00
committed by kevgliss
parent 02cfb2d877
commit f353956353
4 changed files with 58 additions and 36 deletions

View File

@ -307,8 +307,10 @@ def test_extended_key_usage_schema():
'useEapOverLAN': True,
'useEapOverPPP': True,
'useOCSPSigning': True,
'useSmartCardAuthentication': True,
'useTimestamping': True
'useSmartCardLogon': True,
'useTimestamping': True,
'useCodeSigning': True,
'useEmailProtection': True
}
data, errors = ExtendedKeyUsageSchema().load(input_data)
@ -320,8 +322,10 @@ def test_extended_key_usage_schema():
'use_eap_over_lan': True,
'use_eap_over_ppp': True,
'use_ocsp_signing': True,
'use_smart_card_authentication': True,
'use_timestamping': True
'use_smart_card_logon': True,
'use_timestamping': True,
'use_code_signing': True,
'use_email_protection': True
}