Hello All,
It seems that there is a reset card (power cycle) + select FIDO between P-2 authenticatorCredentialManagement(0x0A) with enumerateRPsBegin(0x02) & P3 (authenticatorCredentialManagement(0x0D) with enumerateRPsGetNextRP(0x03).
According to the CTAP 2.1 specification: §6. Authenticator API, enumerateRPsGetNextRP (0x03) is a stateful command and the specified implementation accommodations apply to it.
"Some commands or subcommands require the authenticator to maintain state. For example, the
authenticatorCredentialManagement subcommand
enumerateRPsGetNextRP
implicitly assumes that the authenticator remembers which RP is next to
return. The following (sub)commands require such state and are called
stateful commands".
If there is a power cycle between enumerateRPsBegin(0x02) & enumerateRPsGetNextRP (0x03) , this state can't be maintained.
=>
The state SHOULD NOT be maintained across power cycles.
did i miss something ?
BTW, this is the same for enumerateCredentialsBegin(0x04) & enumerateCredentialsGetNextCredential(0x05)
Thank you for you clarification.
Regards,
F. Faven