fido2 works

This commit is contained in:
merlokk
2019-02-06 19:06:49 +02:00
parent 771fffe329
commit 375db69e3a
3 changed files with 18 additions and 13 deletions

View File

@ -513,12 +513,12 @@ printf1(TAG_NFC, "WRX-off err\n");
WTX_on(WTX_TIME_DEFAULT);
ctap_response_init(&ctap_resp);
status = ctap_request(payload, plen, &ctap_resp);
status = ctap_request(payload, plen, &ctap_resp, true);
if (!WTX_off()){
printf1(TAG_NFC, "WTX-off err\n");
return;
}
printf1(TAG_NFC, "CTAP resp: %d len: %d\r\n", status, ctap_resp.length);
printf1(TAG_NFC, "CTAP resp: 0x%02<30> len: %d\r\n", status, ctap_resp.length);
if (status == CTAP1_ERR_SUCCESS)
{