matejcik
becf5dcc53
chore(legacy): remove Lisk
2021-08-19 10:25:41 +02:00
matejcik
a39870449f
fix(legacy): recognize SignTXEIP1559 on legacy build
...
[no changelog]
2021-08-10 11:00:29 +02:00
matejcik
9ab1891b22
feat(common): more required fields in messages-management
...
[no changelog]
2021-08-04 15:03:11 +02:00
matejcik
33a9a14eab
feat(legacy/emulator): avoid busy loop when waiting for messages
2021-08-04 10:58:15 +02:00
Pavol Rusnak
397a2ab18e
feat(legacy): make sure that known_bootloader check contains the hash of our bundled bootloader
2021-07-23 13:46:06 +02:00
Andrew Kozlik
c1843f9f9f
style(legacy): Remove nested conditional operators.
2021-07-22 10:54:49 +02:00
Martin Milata
412d06fdfe
docs(core+legacy): use towncrier for generating CHANGELOG.md
...
core/embed/boardloader/CHANGELOG.md
core/embed/bootloader/CHANGELOG.md
core/embed/bootloader_ci/CHANGELOG.md
legacy/intermediate_fw/CHANGELOG.md
2021-07-21 14:27:20 +02:00
Pavol Rusnak
d35071d732
docs(core+legacy): update changelogs to new format
2021-07-21 14:27:20 +02:00
Andrew Kozlik
7277a49047
fix(common): Add new rpId to Binance's FIDO definition.
2021-07-21 13:19:16 +02:00
Martin Milata
0d251fc01a
Merge branch 'release/21.07'
2021-07-16 14:34:20 +02:00
Andrew Kozlik
24bb401638
fix(legacy,core): Fix operation source account encoding in Stellar.
2021-07-13 17:24:16 +02:00
Martin Milata
478bc81b86
chore(legacy): bump version to 1.10.3
2021-07-08 13:38:09 +02:00
Martin Milata
01c1ae426f
docs: add security fixes to changelogs
2021-06-30 18:32:58 +02:00
Andrew Kozlik
5fb0f9a6c5
feat(legacy): Distinguish between known path checks and script type checks in coin_path_check().
2021-06-30 18:25:58 +02:00
Andrew Kozlik
b8cb531098
feat(legacy): Check presence of multisig parameters in coin_known_path_check() for consistency with core checks.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
c067618828
fix(common): Fix incorrect SLIP-44 coin type for Bgold and SmartCash Testnets.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
28421594c9
fix(legacy): Use short-circuit evaluation in coin_known_path_check().
2021-06-30 18:25:58 +02:00
Andrew Kozlik
9b0e980c44
fix(legacy): Don't allow unknown paths in GetAddress.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
3884232f74
feat(legacy): Restrict path ranges for account, change and address index.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
a6390e4b82
fix(legacy): Allow known non-standard paths in GetAddress and SignTx.
2021-06-30 18:25:58 +02:00
Andrew Kozlik
18f4a47173
fix(legacy): Disable spending testnet coins from Bitcoin paths.
2021-06-30 18:25:58 +02:00
Martin Milata
a2d2405a11
docs(legacy/firmware): changelog for 1.10.2
2021-06-30 18:17:09 +02:00
Pavol Rusnak
8cfa5da1ce
docs: fix typos in comments
...
[skip_ci]
2021-06-30 15:41:55 +02:00
Andrew Kozlik
9ebfa936c0
docs(legacy/firmware): Fix dates in changelog.
2021-06-11 20:22:42 +02:00
Martin Milata
362504dfcd
docs(legacy/firmware): changelog for blake256 fix
2021-06-11 20:22:42 +02:00
matejcik
97f49cf336
fix(legacy): fix protobuf build [no changelog]
2021-06-08 09:55:19 +02:00
matejcik
2fac964a29
chore(common): disable Firo support
2021-06-04 11:38:18 +02:00
Pavol Rusnak
fce3640848
fix(common): remove dead coin Hatch
2021-06-04 10:10:26 +02:00
Martin Milata
3976ef7261
chore(legacy/firmware): bump version to 1.10.2
...
[skip_ci]
2021-06-02 12:50:22 +02:00
Martin Milata
5f2b7b231b
docs(legacy/firmware): changelog for 1.10.1
2021-05-24 18:58:48 +02:00
Andrew Kozlik
2dbde040c4
feat(legacy): Add safety_checks setting.
2021-05-24 17:47:43 +02:00
Pavol Rusnak
8531b35280
fix(legacy/intermediate_fw): don't erase the whole firmware sector ( #1626 )
...
Co-authored-by: Andrew Kozlik <42678794+andrewkozlik@users.noreply.github.com>
2021-05-22 12:15:56 +02:00
Pavol Rusnak
4f1274c9c4
fix(legacy): set STAY_IN_BOOTLOADER_FLAG before the reboot of intermediate_fw
2021-05-21 15:18:59 +02:00
Ondřej Vejpustek
34f5d508b0
refactor(legacy): move wait_random into separate file
2021-05-21 13:42:53 +02:00
Pavol Rusnak
0c46b79ebf
fix(legacy): don't erase firmware and storage in intermediate firmware
...
if the storage has been already initialized
2021-05-13 17:59:39 +02:00
Pavol Rusnak
e09a74a79e
refactor(legacy): rename check_bootloader to check_and_replace_bootloader
2021-05-13 17:59:39 +02:00
Martin Milata
ca5d173071
docs(legacy/firmware): changelog for 1.10.0
2021-05-13 14:35:54 +02:00
Martin Milata
ee1fda3f7f
docs(legacy/bootloader): use towncrier for generating CHANGELOG.md
2021-05-04 14:18:01 +02:00
Martin Milata
97aa0fb517
docs(legacy/firmware): use towncrier for generating CHANGELOG.md
2021-05-04 14:18:01 +02:00
Martin Milata
f58c1634c6
docs(core): use towncrier for generating CHANGELOG.md
2021-05-04 14:18:01 +02:00
Pavol Rusnak
40bd66ded4
chore(legacy): fix last commit
2021-04-23 15:51:11 +02:00
Tomas Susanka
300c27abb8
chore(legacy): bump version to 1.10.1; add soft-reset to changelog
2021-04-23 15:47:17 +02:00
Tomas Susanka
e82aacbc7c
docs(legacy/changelog): add note on bootloader
2021-04-22 09:41:58 +02:00
Pavol Rusnak
f606b71881
fix(legacy): update intermediate_fw version to 1.10.0
2021-04-21 18:49:09 +02:00
Pavol Rusnak
f93a8514e8
fix(legacy): update embedded bootloader hash
2021-04-21 16:00:09 +02:00
Pavol Rusnak
1f6fe62fd2
build(legacy): don't try to build intermediary_fw for emulator
2021-04-20 22:08:01 +02:00
Pavol Rusnak
c6dc708fe6
build(legacy): build bootloader and intermediary_fw in docker
2021-04-20 21:37:06 +02:00
Pavol Rusnak
73ae44f500
fix(legacy): rebuild bundled bootloader (deterministically)
2021-04-19 18:32:47 +02:00
Pavol Rusnak
0d37824b01
fix(legacy): show dialog before rebooting to bootloader
2021-04-15 18:01:09 +02:00
Alexis Hernandez
bb1c638d3b
legacy: Update op_return max size to 150 bytes
...
The goal is to allow Trezor 1 to create TPoS contracts for Stakenet.
Last year, Stakenet introduced a hard-fork [1] to change the way TPoS contracts
are created, instead of a custom signature method, now it works with the
output from the signMessage method, while this works for Trezor T, it doesn't
work for Trezor 1 due to the 80 bytes limit on the OP_RETURN output while
Stakenet allows up to 150 bytes [2], in a gitter discussion [3] we concluded that
the change should be fine.
The hard-fork was introduced because we couldn't got our TPoS contracts PR accepted [4],
the OP_RETURN still contains the same data, its just stored in a different way:
- The TPoS address, where the coins to stake are stored, and where rewards are received.
- The merchant address, where the merchant receives its commission.
- The contract commission.
- The TPoS collateral signature (this is what uses the signMessage now).
At last, there is an example transaction creating a TPoS contract [5].
[1]: https://github.com/X9Developers/XSN/pull/154
[2]: https://github.com/X9Developers/XSN/blob/master/src/script/standard.h#L34
[3]: https://gitter.im/trezor/community?at=6064c41e940f1d555e2ea670
[4]: https://github.com/trezor/trezor-firmware/pull/140
[5]: https://xsnexplorer.io/transactions/858feb31097501cf68d698cde104cf778ec51ff3668e943404b549a5dd2f5792
2021-04-06 10:15:59 +02:00
Andrew Kozlik
01e7700333
fix(legacy): Flip bitmaps correctly.
2021-03-26 14:49:21 +01:00
Andrew Kozlik
a755e99ccc
feat(legacy): Display nLockTime in human-readable form.
2021-03-26 14:49:21 +01:00
Andrew Kozlik
66823e2893
chore(core,legacy): Bump FIX_VERSIONs due to upgrade to storage version 3.
2021-03-25 14:24:41 +01:00
Andrew Kozlik
cbb0d82999
feat(legacy): Support 50 digit PIN and wipe code.
2021-03-25 14:24:41 +01:00
matejcik
56ee7d33a9
chore: add cardano changelogs
2021-03-18 10:30:03 +01:00
Andrew Kozlik
97a3223663
fix(legacy): Skip unused messages in nanopb.
2021-03-17 22:34:26 +01:00
Andrew Kozlik
a36439a57f
fix(legacy): Improve compile-time checks of message sizes.
...
Distinguish between the maximum size of a protobuf-encoded message
and the maximum size of a C struct containing a decoded message.
2021-03-17 22:34:26 +01:00
Andrew Kozlik
54fec3742f
fix(legacy): Improve error handling in msg_read_tiny().
...
When a message was unexpected and small enough, it raised a
DataError, which contradicted the reasoning about ignoring
unexpected messages. Now all unexpected messages are ignored
regardless of their size.
When a message was expected, but too big, it was ignored, which
made debugging difficult. Now it raises a DataError.
2021-03-17 22:34:26 +01:00
Andrew Kozlik
d3183776fa
chore(legacy): Add compile-time checks for msg_tiny sizes.
2021-03-17 22:34:26 +01:00
Andrew Kozlik
838b2c2c77
fix(legacy): Replace magic numbers with USB_PACKET_SIZE and MSG_HEADER_SIZE.
2021-03-17 22:34:26 +01:00
Andrew Kozlik
9aec5409b9
feat(legacy): Allow decreasing output amount in RBF transactions.
2021-03-17 15:15:50 +01:00
mcudev
b50f1e0b89
openocd: separate stlink configs deprecated - now combined
2021-03-09 11:41:55 +01:00
Pavol Rusnak
a36d0c0fbe
docs(changelog): add public key to ECDHSessionKey
2021-03-08 16:52:44 +01:00
Roman Zeyde
78ab0a6a2d
feat(legacy): add public_key to ECDHSessionKey
2021-03-08 15:59:00 +01:00
Pavol Rusnak
97b43499e5
fix(legacy): remove executable bit from legacy/firmware/bootloader.dat
2021-03-05 18:33:59 +01:00
Pavol Rusnak
60a6b8211e
docs(changelog): next bootloader/firmware version will be 1.10.0
2021-03-05 18:32:23 +01:00
Pavol Rusnak
4a82d6c9d5
fix(legacy): recompile bundled bootloader
2021-03-03 16:36:18 +01:00
Pavol Rusnak
cd62a79ec2
docs(legacy): fix bootloader changelog
2021-03-03 16:27:42 +01:00
Pavol Rusnak
4d2237b32b
fix(legacy): refactor oledDrawBitmap and oledDrawBitmapFlip
...
into a single function
2021-03-03 16:23:53 +01:00
Pavol Rusnak
72691a93d5
fix(legacy): cleanup bitmaps, use 1-bit PNG, update generate script
2021-03-03 16:23:53 +01:00
Pavol Rusnak
3b80e9f228
fix(legacy): store only half of the logo64, use flip to render both parts
2021-03-03 16:23:53 +01:00
Pavol Rusnak
10cb634a45
fix(legacy): change STAY_IN_BOOTLOADER_FLAG to 0x0FC35A96
...
to have hamming distance greater than 2 from zero
2021-03-03 16:18:31 +01:00
Pavol Rusnak
4b0f41d41e
fix(common): change msg_id of RebootToBootloader from 804 to 87
2021-03-03 12:07:00 +01:00
Ondrej Mikle
d0b630abfc
chore(legacy): return code for reboot call
2021-03-03 12:06:59 +01:00
Ondrej Mikle
18a05d467e
chore(legacy): fake handling emulator reset to bootloader
2021-03-03 12:06:59 +01:00
Ondrej Mikle
2dccbf99d4
chore(legacy): add reset to bootloader protobuf message
2021-03-03 12:06:59 +01:00
Ondrej Mikle
b625b74bc7
chore(legacy): fix version in bootloader readme
2021-03-03 12:06:59 +01:00
Ondrej Mikle
9787ebfd21
chore(legacy): update Changelogs
2021-03-03 12:06:58 +01:00
Ondrej Mikle
de09d27c44
chore(legacy): bump version of intermediate_fw to match bootloader
2021-03-03 12:06:58 +01:00
Ondrej Mikle
f9917e8d47
feat(legacy): add 'stay in bootloader' bootloader to firmware'
2021-03-03 12:06:58 +01:00
Ondrej Mikle
10be0230a5
chore(legacy): bump bootloader version
2021-03-03 12:06:58 +01:00
Pavol Rusnak
1a71dcd0c5
chore(legacy): unify {go,return}_to_bootloader => stay_in_bootloader
2021-03-03 12:06:57 +01:00
Ondrej Mikle
040d09397c
feat(legacy): grab 'go to bootloader flag' as soon as possible
2021-03-03 12:06:57 +01:00
Ondrej Mikle
1c38819bf9
chore(legacy): fix demo build
2021-03-03 12:06:57 +01:00
Ondrej Mikle
64f29d5697
chore(legacy): fix emulator build
2021-03-03 12:06:57 +01:00
Ondrej Mikle
90fe2047c8
chore(legacy): cstyle
2021-03-03 12:06:57 +01:00
Ondrej Mikle
37306350c0
feat(legacy): pushing 'go to bootloader flag' to bootloader main
2021-03-03 12:06:56 +01:00
Ondrej Mikle
0ad63ca245
feat(legacy): linker script go to bootloader absolute address definition
2021-03-03 12:06:56 +01:00
Ondrej Mikle
1699d33cfa
feat(legacy): reboot to bootloader supervisor call constants
2021-03-03 12:06:56 +01:00
Ondrej Mikle
65aa3b49d9
feat(legacy): add supervisor call for reboot to bootloader
2021-03-03 12:06:56 +01:00
Pavol Rusnak
90a50adc1e
fix(legacy): correctly import SDL2 ( #1485 )
2021-02-18 11:58:04 +01:00
matejcik
0964517fe7
fix(legacy): do not query presence of newly-required protobuf fields
2021-02-10 10:56:52 +01:00
Andrew Kozlik
79fad70b05
fix: Improve wording when showing multisig XPUBS.
2021-01-26 15:09:37 +01:00
Pavol Rusnak
0519d86451
chore(legacy): simplify data2hex
2021-01-22 22:41:11 +01:00
Pavol Rusnak
105f203a1f
fix(legacy): fix emulator build on darwin
2021-01-22 22:24:21 +01:00
Tomas Susanka
1006c8a0f1
chore(core,legacy): change versions to 1.9.5 and 2.3.6
...
This reverts commit 92535dc090
.
2021-01-22 15:42:55 +01:00
Pavol Rusnak
47e701f54c
docs(legacy): update changelog
...
[skip_ci]
2021-01-22 14:30:50 +01:00
Pavol Rusnak
92535dc090
chore(core,legacy): change versions back to 1.9.4 and 2.3.5
...
[skip_ci]
2021-01-22 14:23:11 +01:00
Pavol Rusnak
1d3166017d
feat(legacy): implement amount_unit for SignTx
2021-01-22 14:07:36 +01:00
Pavol Rusnak
cb4c5a72bf
legacy: implement GetAddress.ignore_xpub_magic
2021-01-21 23:46:29 +01:00