1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00
Commit Graph

515 Commits

Author SHA1 Message Date
matejcik
ac8c642379 feat(legacy/bootloader): report installed firmware version 2022-04-29 15:35:38 +02:00
matejcik
960527953a build(legacy): add explicit dependency on version.h for the header object 2022-04-29 13:08:17 +02:00
matejcik
ecd0423f6f chore(legacy/bootloader): bump major version 2022-04-29 13:08:17 +02:00
matejcik
f291b4658c fix(legacy/bootloader): erase storage if going below fix_version 2022-04-29 13:08:17 +02:00
Martin Milata
517bcfcd06 docs(legacy): changelog for 1.11.0 2022-03-29 16:25:36 +02:00
Andrew Kozlik
92b78a5352 feat(legacy): Verify signatures of all original internal inputs in replacement transactions. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
6f2d34b59c refactor(legacy): Transaction checksum in Bitcoin signing. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
ecf68b13eb feat(legacy): Warn about unverified external inputs. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
9719f73185 feat(legacy): Warn only once about non-standard paths.
[no changelog]
2022-03-29 12:55:36 +02:00
Andrew Kozlik
64637babad chore(legacy): Simplify path warning UI.
[no changelog]
2022-03-29 12:55:36 +02:00
Andrew Kozlik
9a20edb17d fix(legacy): Stricter Bitcoin transaction checks.
[no changelog]
2022-03-29 12:55:36 +02:00
Andrew Kozlik
253c7a0cc0 chore(legacy/firmware): Bump VERSION and FIX_VERSION to 1.11.0. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
353ff85fd2 feat(legacy): Add fsm_abortWorkflows(). 2022-03-29 12:55:36 +02:00
Andrew Kozlik
131c3d0756 fix(legacy): Check PIN before confirming critical dialogs. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
9828ea1871 feat(legacy): Add state sanity check to fsm_msg*Ack() functions. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
7f7f3b7502 feat(legacy): Strict path validation for CoSi. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
0438e240c4 feat(legacy): Strict path validation for NEM. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
befd38217e feat(legacy): Make Bitcoin path checks same as in core. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
f0a48c2f18 feat(legacy): Strict path validation for Stellar. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
2e1c784748 feat(legacy): Strict path validation for Ethereum. 2022-03-29 12:55:36 +02:00
Andrew Kozlik
275f41ff46 refactor(legacy): Factor out fsm_layoutPathWarning(). 2022-03-29 12:55:36 +02:00
Andrew Kozlik
608da389f6 refactor(legacy): Move path constants to crypto.h. 2022-03-29 12:55:36 +02:00
Pavol Rusnak
25bd9ebbbb fix(legacy): fix SDL2 include path
[no changelog]
2022-03-29 12:22:11 +02:00
Pavol Rusnak
334f7bbbe6 chore(common): defs cleanup
- drop Gamecredits - they became an ERC-20 token in 2020
- drop Nix - dead coin
- drop Polis - coin became a BEP-20 token and later Olympus network in 2021
2022-03-25 14:27:30 +01:00
Andrew Kozlik
d012f48ca5 feat(legacy): Guess weight of unverified external inputs. 2022-03-17 09:44:03 +01:00
Andrew Kozlik
82895b2cdb feat(legacy): Support unverified external inputs. 2022-03-17 09:44:03 +01:00
Andrew Kozlik
0dfbfefd2a refactor(legacy): Factor out multisig fingerprint processing. 2022-03-17 09:44:03 +01:00
Andrew Kozlik
8cb6d0709f feat(legacy): Ensure input's script type and path match the scriptPubKey. 2022-03-17 09:44:03 +01:00
Ondrej Mikle
28d282101e fix(legacy): cleanup of undesired states where USB processing should not happen 2022-02-22 00:49:31 +01:00
Martin Milata
548651608c docs(legacy/bootloader): fix changelog date 2022-02-17 11:42:09 +01:00
matejcik
45e5c18f06 fix(legacy): allow DebugLinkGetState while waiting for passphrase 2022-02-17 11:05:55 +01:00
matejcik
69eb09580d fix(legacy): clear crypto caches on device wipe 2022-02-17 11:05:55 +01:00
grdddj
967727a43c chore(legacy,ci): add and use make targets for legacy 2022-02-17 11:05:55 +01:00
Pavol Rusnak
ea6b005003 feat(legacy): verify bip340 pubkeys used in p2tr addresses 2022-02-16 10:25:15 +01:00
Andrew Kozlik
b1706561cd fix(legacy): Remove Bitcoin Cash from BITCOIN_ONLY firmware. 2022-02-11 15:36:00 +01:00
Andrew Kozlik
cb21c7e415 feat(legacy): Support Electrum signatures in VerifyMessage. 2022-02-11 15:36:00 +01:00
Andrew Kozlik
b5c9f573b2 feat(legacy): Show "signature is valid" dialog when VerifyMessage succeeds. 2022-02-11 15:36:00 +01:00
matejcik
310b6c5217 fix(legacy): support Success and Failure for debuglink 2022-02-10 14:48:11 +01:00
matejcik
825ccd9df5 build(legacy): make bootloader_align target repeatable
[no changelog]
2022-02-10 14:48:11 +01:00
matejcik
e81bb0f856 feat(legacy): enable DebugLinkReseedRandom 2022-02-10 14:48:11 +01:00
matejcik
658c50fc1f chore(legacy): drop support for RANDOM_DEV_FILE
Replacing it with trezor-crypto's na(t)ive RNG, which we can reseed over
debuglink.
2022-02-10 14:48:11 +01:00
Andrew Kozlik
d0c3a6a2fa chore(core): Add mac field to Address message.
[no changelog]
2022-01-31 18:00:22 +01:00
Andrew Kozlik
0959947a88 chore(common): Add GetNonce, Nonce and TxAckPaymentRequest message.
[no changelog]
2022-01-31 18:00:22 +01:00
Andrew Kozlik
ba4f046d6f feat(common): Add INFO button to DebugLinkDecision.
[no changelog]
2022-01-27 13:15:04 +01:00
Martin Milata
763a138d53 docs(legacy/firmware): fix date in changelog
[skip_ci]
2022-01-19 19:48:43 +01:00
Martin Milata
98b1159b0b Merge branch 'release/22.01'
Conflicts:
	core/src/apps/ethereum/tokens.py
2022-01-19 15:24:51 +01:00
Martin Milata
b6ed573cf5 ci(legacy): run nightly device tests with AddressSanitizer
[no changelog]
2022-01-19 15:22:03 +01:00
Andrew Kozlik
56126b75a7 ci: Use address sanitizer in CI.
[no changelog]
2022-01-19 15:22:03 +01:00
Martin Milata
c127f6dd6e docs(legacy/firmware): fix date in changelog
[skip_ci]
2022-01-17 14:11:49 +01:00
Alois Klink
5c4703c9bb fix(core,legacy): Fix domain-only ethTypedData
When doing Ethereum signTypedData, and the primaryType="EIP712Domain",
we completely ignore the "message" part and only sign the domain.

According to the community, this is technically allowed by the spec,
and may be used by ETH smart contracts to save on gas.

Test case generated by @MetaMask/eth-sig-util's library.

See: https://ethereum-magicians.org/t/eip-712-standards-clarification-primarytype-as-domaintype/3286
2022-01-14 14:22:46 +01:00