Open matejcik opened 4 years ago
Places where a rename can/should take place:
core/src/apps/webauthn
-> core/src/apps/fido
{GetNext,Next,Set}U2FCounter
-> {GetNext,Next,Set}FIDOCounter
(messages-management.proto
)u2f_counter
-> fido_counter
(LoadDevice
, ResetDevice
, RecoveryDevice
- all in messages-management.proto
)WebAuthn*
-> FIDO*
(messages-webauthn.proto
)U2F_COUNTER
-> FIDO_COUNTER
- [ ] protobuf message names
{GetNext,Next,Set}U2FCounter
->{GetNext,Next,Set}FIDOCounter
(messages-management.proto
)- [ ] protobuf messages names
WebAuthn*
->FIDO*
(messages-webauthn.proto
)
*FIDOCounter
should be all moved to messages-fido.proto
too
The functionality that was originally U2F and grew to include WebAuthN and FIDO2 is named ... inconsistently.
A good name for the whole complex is
fido
. This name should be used in protobuf messages, app/module names, etc.This will be implemented in trezorlib/trezorctl. An open question is, should we rename it everywhere else too? Is it worth the hassle?