1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 08:38:07 +00:00
Commit Graph

294 Commits

Author SHA1 Message Date
matejcik
8640b50d81 style(core): upgrade pyright to 1.1.361
[no changelog]
2024-05-07 11:57:10 +02:00
Andrew Kozlik
6e207215e3 feat(crypto): Add Brian Gladman's implementation of GCM. 2024-04-03 10:26:46 +02:00
matejcik
b263dbc109 fix(all): improve Solana template generation 2024-03-26 15:22:32 +01:00
matejcik
1fede16548 fix: update check-bitcoin-only exceptions list 2024-03-08 13:17:12 +01:00
matejcik
f34ad3daf1 fix: correctly detect all altcoin names in check-bitcoin-only
The -d multi-select picks only coins that are available on _all_ models.
Besides, it's more correct to check even for unsupported altcoins.
2024-03-08 13:17:12 +01:00
Martin Milata
a433f8f914 test(core): ignore {0} in bitcoin-only firmware 2024-03-08 11:00:48 +00:00
obrusvit
ebcf3e2db2 feat(core): confirm ETH stake, unstake, claim 2024-02-23 18:09:43 +01:00
obrusvit
d2ee3c18ed docs: impl tool to list .md missing in SUMMARY.md
[no changelog]
2024-02-13 16:51:54 +01:00
grdddj
b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
gabrielkerekes
a8096652e0 refactor(core): make ethereum summary reusable for more coins
- and use it for Solana
2023-12-05 22:11:41 +01:00
grdddj
6c4e0eec26 chore(tools): add new Ethereum layout name into exceptions for altcoin strings
[no changelog]
2023-12-04 13:15:57 +01:00
matejcik
f0d6539d3d feat: custom Pylint plugin
for now, it catches the following incorrect function:

async def show_foo() -> Awaitable[None]:
    return show_something_else("foo")

because to correctly show the result, the caller would have to "await (await show_foo())"

(this should either be "async def show_foo() -> None", or "def show_foo() -> Awaitable[None]")
2023-11-30 09:27:57 +01:00
tychovrahe
239f3bda5d chore: exclude altcoins with names shorter than 4 chars from bitcoin-only check
[no changelog]
2023-11-14 13:25:00 +01:00
Martin Milata
29d0b4836f docs(core): differentiate changelog entries between models
[no changelog]
2023-11-01 16:21:57 +01:00
matejcik
ba4766f14e fix(tools): remove leading zero from "01st" in changelog dates 2023-10-06 10:49:29 +02:00
grdddj
76c6e9cd9d feat(all): implement support information for T2B1
WIP - change trezor{1,2} to their internal names, add support for model R

WIP - add EOS and NEM features Capability only for TT

WIP - not include EOS and NEM into TR

WIP - choose between device models when generating coininfo

WIP - regenerate coininfo.py

WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR

WIP - fix python support

WIP - fix unit tests

WIP - import bitcoin-like code only when needed

WIP - remove ignored coins for TR in fixtures.json

WIP - make all the external references to models UPPERCASE

WIP - do the model separation in mako script also for tokens and networks

WIP - hot-fixing non-supporting RELEASES_URL for new model names

WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION

WIP - run `python support.py release`

WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS

WIP - change all the docs and commands to have UPPERCASE model names

[no changelog]
2023-09-14 13:54:09 +02:00
matejcik
a36fb83452 fix(tools): more general support for version-bumping that also includes boardloader 2023-09-06 11:28:34 +02:00
grdddj
eed6e0b71c feat(core): create new Ethereum send flow for TR
[no changelog]
2023-09-04 13:50:30 +02:00
Andrew Kozlik
4accf76954 feat(crypto): Implement AES-CCM. 2023-08-29 10:59:34 +02:00
grdddj
8beaf653b9 chore(style): include core/site_scons python files for style linting
[no changelog]
2023-07-18 10:10:41 +02:00
matejcik
88f5f79315 docs(core/boardloader): generate first changelog, bump version to 2.1.0 2023-06-14 11:42:12 +02:00
matejcik
fba79f07a3 docs: update towncrier template 2023-06-14 11:42:12 +02:00
grdddj
da14c22712 feat(all): add UI for Model R 2023-05-31 10:14:54 +02:00
Martin Milata
e7c2800798 build: fix compilation on darwin
[no changelog]
2023-05-10 20:59:00 +02:00
matejcik
fc5bffb890 docs(python): changelog for 0.13.6 2023-04-27 13:37:16 +02:00
tychovrahe
33fb590f44 refactor(core): decouple i2c driver and touch driver
[no changelog]
2023-04-19 21:36:51 +02:00
matejcik
c9ae02442e chore(tools): improve check-bitcoin-only exception list 2023-04-19 13:05:03 +02:00
Martin Milata
46940521d8 chore(core/bootloader): bump version to 2.1.1
[skip_ci]
2023-04-09 12:37:18 +02:00
Martin Novák
e6a7b9ccaa feat(python): support external Ethereum definitions 2023-03-24 13:24:46 +01:00
Martin Milata
233a292fd2 Merge branch 'master' into secfix/23.03
Conflicts:
	core/Makefile
	core/SConscript.firmware
	core/embed/firmware/bootloader.bin
	core/embed/firmware/bootloaders/bootloader_T.bin
	core/embed/firmware/bootloaders/bootloader_T2T1.bin
	python/src/trezorlib/firmware/core.py
	python/src/trezorlib/firmware/models.py
2023-02-28 15:20:36 +01:00
Martin Milata
16a9f187bd chore(common): update chains and tokens
[no changelog]
2023-02-28 14:46:34 +01:00
matejcik
af1f73a373 docs(legacy): update changelogs 2023-02-27 14:54:17 +01:00
matejcik
29e064f07b chore(legacy/bootloader): drop unused VERSION_x_CHAR
[no changelog]
2023-01-02 11:03:38 +01:00
matejcik
1a46c7dfdc feat(snippet): converter for local_cache_attribute 2022-11-10 14:08:28 +01:00
Simon Males
393bbb2bf1 chore(docs): Clean up dead links [no changelog] 2022-10-25 15:27:32 +02:00
Martin Milata
3b629a1ea4 refactor(core/rust/ui): layouts for SLIP-39 backups
[no changelog]
2022-09-07 16:46:47 +02:00
matejcik
c353135b0d fix(tools): only check against enabled coins 2022-08-02 13:57:31 +02:00
Andrew Kozlik
6e04523d6a feat(tools): Add error message to check-bitcoin-only. 2022-07-27 21:58:05 +02:00
Andrew Kozlik
d19af9896b refactor(crypto): Apply formatting to Monero code. 2022-07-14 15:47:54 +02:00
matejcik
60648c903f fix(changelog): explicitly include title in rendered template 2022-06-29 14:35:16 +02:00
tychovrahe
b318e0da3b chore(common): add cloudflare exception to bitcoin only checker [no changelog] 2022-06-21 09:56:19 +02:00
grdddj
82622adf6f fix(tools): modify type-hints to be compatible with older python versions 2022-05-30 14:41:32 +02:00
grdddj
5c493f05ef snippet: unused Monero mapping 2022-05-16 12:37:24 +02:00
Andrew Kozlik
11cb171e1a fix(tools): Strip old header in firmware_hash.py. 2022-05-11 11:14:03 +02:00
Andrew Kozlik
1b43b2190a feat(tools): Add firmware_hash.py. 2022-05-03 19:00:04 +02:00
matejcik
e9364ea0ae style(tools): fix type annotations in pyright tool 2022-03-23 14:55:05 +01:00
matejcik
61718aff49 feat(tools): make pyright_tool more user-friendly
[no changelog]

* passed in directory respects absolute and relative paths instead of
  working "from repository root"
* we don't require the enableTypeIgnoreComments to be set so both
  `pyright` and `pyright_tool` can work with the same config at the same
  time
* use click's magic functionality to deal with missing / unreadable /
  unwriteable files
* read the error results via a pipe, do not write to filesystem unless
  requested
* simplified logic regarding "test mode"/"dev mode"
* renamed `--log` to more typical `--verbose`
* use pathlib more extensively
2022-03-23 14:55:05 +01:00
grdddj
f0cc7f3327 feat(ci): autogenerate documentation for CI jobs 2022-03-18 12:02:24 +01:00
grdddj
a38a0b6295 fix(python): fix eth.sign-tx - correct input into rlp.encode()
[no changelog]
2022-03-16 16:09:07 +01:00
matejcik
5c803ab19d fix(tools): fix invalid (in python 3.8 and lower) type aliases 2022-03-10 11:27:21 +01:00