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

Nils Ollrogge notifications at github.com
Wed May 26 16:45:17 CEST 2021


@Ollrogge commented on this pull request.



> +    /* last moment where transaction can be cancelled */
+    if (should_cancel()) {
+        return CTAP2_ERR_KEEPALIVE_CANCEL;
+    }
+
+    /* ask for permission to create a new credential */
+#if IS_ACTIVE(CONFIG_FIDO2_CTAP_DISABLE_UP)
+    up = true;
+#else
+    if (fido2_ctap_utils_user_presence_test() == CTAP2_OK) {
+        up = true;
+    }
+#endif
+
+    /* resident credential or not */
+    rk = req.options.rk;

`req.options` is part of in this case the MakeCredential request and is set by the relying party. 

-- 
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_r639797930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210526/b5e967e3/attachment.htm>


More information about the notifications mailing list