[riot-notifications] [RIOT-OS/RIOT] FIDO2 support in RIOT (#16489)

Nils Ollrogge notifications at github.com
Thu Jul 1 12:11:28 CEST 2021


@Ollrogge commented on this pull request.



> +            req->pin_auth_present = true;
+            break;
+        case CTAP_CP_REQ_NEW_PIN_ENC:
+            DEBUG("ctap_cbor: parse newPinEnc \n");
+            len = sizeof(req->new_pin_enc);
+            ret = parse_byte_array(&map, req->new_pin_enc, &len);
+            req->new_pin_enc_size = len;
+            break;
+        case CTAP_CP_REQ_PIN_HASH_ENC:
+            DEBUG("ctap_cbor: parse pinHashEnc \n");
+            len = sizeof(req->pin_hash_enc);
+            ret = parse_fixed_size_byte_array(&map, req->pin_hash_enc, &len);
+            req->pin_hash_enc_present = true;
+            break;
+        default:
+            DEBUG("parse_client_pin unknown key: %d \n", key);

Yes it is. If the key is unknown we simply don't process the value and move on to the next key.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r662162787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210701/7bdf7644/attachment.htm>


More information about the notifications mailing list