dont add uv option...
This commit is contained in:
parent
984b30234a
commit
43b5201a1e
17
fido2/ctap.c
17
fido2/ctap.c
@ -165,16 +165,19 @@ uint8_t ctap_get_info(CborEncoder * encoder)
|
||||
check_ret(ret);
|
||||
}
|
||||
|
||||
ret = cbor_encode_text_string(&options, "uv", 2);
|
||||
check_ret(ret);
|
||||
{
|
||||
ret = cbor_encode_boolean(&options, 0); // NOT [yet] capable of verifying user
|
||||
check_ret(ret);
|
||||
}
|
||||
// NOT [yet] capable of verifying user
|
||||
// Do not add option if UV isn't supported.
|
||||
//
|
||||
// ret = cbor_encode_text_string(&options, "uv", 2);
|
||||
// check_ret(ret);
|
||||
// {
|
||||
// ret = cbor_encode_boolean(&options, 0);
|
||||
// check_ret(ret);
|
||||
// }
|
||||
ret = cbor_encode_text_string(&options, "clientPin", 9);
|
||||
check_ret(ret);
|
||||
{
|
||||
ret = cbor_encode_boolean(&options, ctap_is_pin_set()); // NOT [yet] capable of verifying user
|
||||
ret = cbor_encode_boolean(&options, ctap_is_pin_set());
|
||||
check_ret(ret);
|
||||
}
|
||||
|
||||
|
@ -678,12 +678,13 @@ uint8_t ctap_parse_make_credential(CTAP_makeCredential * MC, CborEncoder * encod
|
||||
if (CTAP1_ERR_INVALID_LENGTH != ret) // damn microsoft
|
||||
{
|
||||
check_retr(ret);
|
||||
MC->pinAuthPresent = 1;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = 0;
|
||||
}
|
||||
MC->pinAuthPresent = 1;
|
||||
break;
|
||||
case MC_pinProtocol:
|
||||
printf1(TAG_MC,"CTAP_pinProtocol\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user