[riot-notifications] [RIOT-OS/RIOT] FIDO2 support in RIOT (#16489)
notifications at github.com
Fri May 28 13:52:57 CEST 2021
@Ollrogge commented on this pull request.
> + }
+ /* initialize pin_token */
+ fido2_ctap_crypto_prng(g_pin_token, sizeof(g_pin_token));
+ DEBUG("fido2_ctap: initialization successful \n");
+ return 0;
+static void reset(void)
+ g_state.initialized = CTAP_INITIALIZED_MARKER;
+ g_state.rem_pin_att = CTAP_PIN_MAX_ATTS;
+ g_state.pin_is_set = false;
+ g_state.rk_amount_stored = 0;
Yes it is. This function is only called when the authenticatorReset method is invoked. The [CTAP](https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html#authenticatorReset) spec states:
>This method is used by the client to reset an authenticator back to a factory default state, invalidating all generated credentials. [...]
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications