dont fail when public key type is too large

This commit is contained in:
Conor Patrick
2019-05-18 14:34:54 -04:00
parent 035b1a8632
commit 31328fe7e7
2 changed files with 19 additions and 1 deletions

View File

@ -621,6 +621,16 @@ class FIDO2Tests(Tester):
other={"exclude_list": [{"id": b"1234", "type": "rot13"}]},
)
self.testMC(
"Send MC request with excludeList item with bogus type, expect SUCCESS",
cdh,
rp,
user,
key_params,
expectedError=CtapError.ERR.SUCCESS,
other={"exclude_list": [{"id": b"1234", "type": "mangoPapayaCoconutNotAPublicKey"}]},
)
self.testMC(
"Send MC request with excludeList with bad item, expect error",
cdh,