Fix silent authentication with resident keys.

It requires a new silent format, so silent credentials must be reissued.

Related with #113.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2025-02-23 21:57:16 +01:00
parent ce7d3ea72f
commit 3807e23914
3 changed files with 33 additions and 10 deletions

View File

@@ -117,7 +117,7 @@ void cbor_thread(void) {
}
apdu.sw = cbor_parse(cbor_cmd, cbor_data, cbor_len);
if (apdu.sw == 0) {
DEBUG_DATA(res_APDU + 1, res_APDU_size);
DEBUG_DATA(res_APDU, res_APDU_size);
}
else {
if (apdu.sw >= CTAP1_ERR_INVALID_CHANNEL) {