Compare commits
2 Commits
persistedk
...
sanitize
Author | SHA1 | Date | |
---|---|---|---|
75dbefad73 | |||
e14700f398 |
@ -1 +1 @@
|
||||
2.3.0
|
||||
2.2.2
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 134 KiB |
Binary file not shown.
Before Width: | Height: | Size: 129 KiB |
@ -1987,5 +1987,5 @@ void ctap_reset()
|
||||
memset(PIN_CODE_HASH,0,sizeof(PIN_CODE_HASH));
|
||||
ctap_reset_key_agreement();
|
||||
|
||||
crypto_load_master_secret(STATE.key_space);
|
||||
crypto_reset_master_secret();
|
||||
}
|
||||
|
@ -929,15 +929,7 @@ uint8_t parse_credential_descriptor(CborValue * arr, CTAP_credentialDescriptor *
|
||||
|
||||
buflen = sizeof(type);
|
||||
ret = cbor_value_copy_text_string(&val, type, &buflen, NULL);
|
||||
if (ret == CborErrorOutOfMemory)
|
||||
{
|
||||
cred->type = PUB_KEY_CRED_UNKNOWN;
|
||||
}
|
||||
else
|
||||
{
|
||||
check_ret(ret);
|
||||
}
|
||||
|
||||
check_ret(ret);
|
||||
|
||||
if (strncmp(type, "public-key",11) == 0)
|
||||
{
|
||||
|
@ -20,9 +20,6 @@
|
||||
],
|
||||
"userVerificationDetails": [
|
||||
[
|
||||
{
|
||||
"userVerification": 1
|
||||
},
|
||||
{
|
||||
"userVerification": 4
|
||||
}
|
||||
|
@ -309,7 +309,7 @@ static uint8_t USBD_HID_Init (USBD_HandleTypeDef *pdev, uint8_t cfgidx)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USBD_HID_Init
|
||||
* @brief USBD_HID_DeInit
|
||||
* DeInitialize the HID layer
|
||||
* @param pdev: device instance
|
||||
* @param cfgidx: Configuration index
|
||||
|
@ -621,20 +621,6 @@ 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,
|
||||
|
Reference in New Issue
Block a user