<p></p>
<p><b>@Ollrogge</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r639797930">sys/fido2/ctap/ctap.c</a>:</p>
<pre style='color:#555'>> +    /* 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;
</pre>
<p><code>req.options</code> is part of in this case the MakeCredential request and is set by the relying party.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r639797930">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBNGOLJJ6KOMGNSZ4TTPUCP3ANCNFSM45IUCTGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYHIIX72EDTRL2ON7DLTPUCP3A5CNFSM45IUCTGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOE7Q6XCI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r639797930",
"url": "https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r639797930",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>