-
-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent revision of FW between TT and T1 #1620
Comments
This is correct. Trezor returns the revision in bytes field, which got encoded in javascript to hex string.
This, however, seems broken. |
this is probably a copy-paste error, the right revision is f4424ece1ccb7fc0d6cad00ff840fac287a34f07 -> f4424ec Anyway this is a mess in any case. The We should:
|
I am all for consistency here. Using string has the advantage of being able to express stuff such as So maybe sending the revision as binary bytes makes sense the most and we can decide whether we want to send the whole thing (20 bytes) or just a prefix to save some space. |
As discussed we want to change TT behavior to T1 behavior. |
Describe the bug
On T1 the revision of firmware is in UTF-8/ASCII.
However, on TT the revision of firmware consists from raw bytes and after hex encoding to UTF-8 I get the format I have on T1 from beginning.
Firmware version and revision
T1:
1.10.0
&4424ece1ccb7fc0d6cad00ff840fac287a34f07
TT:
2.3.6
&623139636266363763
Expected behavior
I would expect to have these revisions united not only by encoding but also by its length.
The text was updated successfully, but these errors were encountered: