Commit Graph

48 Commits (37c61c1381bf9f060687e6f7eea503ae77acb9ba)

Author SHA1 Message Date
matejcik 37c61c1381 feat(core): implement firmware dumping
2 years ago
Andrew Kozlik 822b1c344f feat(core): Return fw_vendor in firmware Features message.
2 years ago
Andrew Kozlik 106ab65e21 feat(core): Implement GetFirmwareHash message.
2 years ago
grdddj 3d505874aa feat(ci): create pyright tool and include it in CI
2 years ago
matejcik c236dfc814 style(core): type `object` doesn't have __slots__
2 years ago
Andrew Kozlik 83686d1be2 chore(core): Add HashContextInitable protocol class.
2 years ago
matejcik e20879189f style(core): remove old-style annotations (Set, Tuple, Union)
2 years ago
matejcik 80f6463799 style(core): define obj_eq and obj_repr so that they pass type-check
2 years ago
grdddj 9fc5bb546b style(core): full pyright-based type-checking
2 years ago
matejcik e972839ac7 style(all): fix pylint complaints
3 years ago
amadejpapez 85ba7c12ba style(all): use f-strings for formatting
3 years ago
matejcik cb882df100 feat(core): in debug mode, dump contents of received protobuf messages
3 years ago
Andrew Kozlik 7811204ed5 refactor(core/bitcoin): Use HashWriter in address derivation.
3 years ago
Andrew Kozlik 2c003052f5 refactor(core/bitcoin): Change CoinInfo.script_hash to be a HashContext.
3 years ago
matejcik b41d4c71f0 feat(core/emulator): JSON memory map dump
3 years ago
Martin Milata b7cab90e3c refactor(core/ui): use new_lines=False in layouts
3 years ago
Jan Pochyla 02aa14fc04 refactor(core): Switch to new Protobuf API
3 years ago
Pavol Rusnak 23aa69caea fix(core): unify Features.revision reporting with legacy
3 years ago
matejcik 94521a2065 feat(core): presize some modules to account for their sub-imports
3 years ago
matejcik 5f4240d93c feat(core): preallocate sys.modules to an appropriate size
3 years ago
matejcik 7ca67cc4d9 feat(core): clear out memory space after every workflow
3 years ago
matejcik ea505b592c refactor(core): move empty_bytearray to trezor.utils
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
3 years ago
Martin Milata 8b3ac659a0 style(core): mypy: disable implicit Optional for function arguments
3 years ago
matejcik 5e7fd3aea6 core: use utils.BufferReader instead of apps.common.BytearrayReader
4 years ago
matejcik 1ff4a0d239 core: separate BufferIO into Reader (read-only) and Writer
4 years ago
matejcik 31e2170766 core: make protobuf buffer smaller, dynamically allocate bigger if necessary
4 years ago
matejcik 0c3bc53aee core: clean up types for field caching, fix count_message
4 years ago
matejcik 87433995b0 core: add BITCOIN_ONLY to mock file
4 years ago
Andrew Kozlik 2b74513e49 core: Fix mypy.
4 years ago
Andrew Kozlik e5008eb332 core/webauthn: Remove indistinguishable credentials from the allow list.
4 years ago
Andrew Kozlik 0af0e06d5b core/webauthn: Truncate names in credential data to at most 100 bytes.
4 years ago
Tomas Susanka 0053511c66 utils: introduce format_plural and move format functions to strings.py
4 years ago
matejcik 75264a07a8
Emulator launcher scripts (#796)
4 years ago
Pavol Rusnak 3de1b3aa54
core/embed: switch to unprivileged in main.c
4 years ago
matejcik 2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN)
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Pavol Rusnak d393fc6e85
Revert "core: replace BITCOIN_ONLY with a constant only in src/trezor/utils.py"
5 years ago
Pavol Rusnak b9e7e93bcf
core: replace BITCOIN_ONLY with a constant only in src/trezor/utils.py
5 years ago
Pavol Rusnak 07ef01f3e4
core: introduce BITCOIN_ONLY flag
5 years ago
Tomas Susanka 566753e551 core: fix style
5 years ago
Pavol Rusnak e1f0c238cf
core: fix utils.format_amount for negative amounts
5 years ago
Jan Pochyla 758a1a2528 core/typing: add annotations
5 years ago
Pavol Rusnak e3e2811f7a
core: throw exception classes instead of instances where possible
5 years ago
Jan Pochyla 36534325f0 core: revamp the UI subsystem
5 years ago
Jan Pochyla 9586358e44 core: log memory info if TREZOR_LOG_MEMORY env is set
5 years ago
matejcik e5670856a2 MONOREPO CREATE FROM trezor-core
5 years ago