You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes the Env API to late choice of template ID (#746)
* Changes the Env API to late choice of template ID
Before, a fingerprint sensor had to choose a template ID at the start of
the enrollment process. Not all sensors assign one immediately, and it
conceptually makes more sense to expect an ID after a successful
enrollment.
We introduce a state that tracks whether
- The fingerprint sensor chose a template ID already,
- and we sent a random template ID over CTAP until then.
We also add tests for the introduced state. Since the command is not
considered stateful by CTAP, it means that enrollment can interleave
with other CTAP commands. And the state is not part of
`StatefulCommand`.
* Fixes incorrect documentation
0 commit comments