Commit Graph

2109 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Andrew Kozlik 106ab65e21 feat(core): Implement GetFirmwareHash message.
2 years ago
Andrew Kozlik 6fe2d76dc1 feat(common): Add GetFirmwareHash message.
2 years ago
Tomas Krnak e166aef820 test(core): add test for zip244
2 years ago
Tomas Krnak 9985a72c6a feat!(core): support Zcash v5 transaction format
2 years ago
Tomas Krnak 670d11d627 feat(core): add `tx` argument to `create_sig_hasher` method
2 years ago
Pavol Rusnak a411a964e1 fix(core): re-enable passing of TREZOR_EMULATOR_RASPI flag
2 years ago
Martin Milata 18c8304339 fix(core): leftover TREZOR_MODEL defines
2 years ago
Pavol Rusnak 8f1d33d5f9 build(core,legacy): remove gcc, use cc instead of gcc
2 years ago
TychoVrahe 7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
2 years ago
Martin Milata 49dbc92782 fix(core/ui): add missing sources to build
2 years ago
tychovrahe 0a735ead1e build(core) - Move comments to separate lines to avoid spaces being added to the value
2 years ago
Ondřej Vejpustek 8356d0a572 fix(crypto): use zero auxiliary data in BIP340
2 years ago
matejcik a9b46f0249 fix(core/rust): be more defensive about strings coming in from uPy
2 years ago
matejcik 8dd7a22f8b refactor(core/rust): disallow creating byte buffers from &str
2 years ago
matejcik 32c3320f07 refactor(core/rust): pass around &str instead of [u8] in most places
2 years ago
matejcik 785dc7f4d7 feat(core/rust): introduce StrBuffer
2 years ago
Ondrej Mikle 2ced50ed16 fix(core): update JLink command line flashing parameters
2 years ago
Martin Milata 1f612580f7 feat(core): enable UI tests for redesigned UI
2 years ago
Martin Milata 2f987c3c5e refactor(core/ui): remove dependencies on old layouts
2 years ago
Martin Milata 2a3f0c16bd ci(monero): update test executable, enable more tests
2 years ago
Martin Milata 38f4ab0983 feat(core/rust/ui): return Layout results as singleton objects
2 years ago
Martin Milata 4cf917c7cb build(core): fix TREZOR_EMULATOR_DEBUGGABLE
2 years ago
Jan Pochyla 36829cfa8f feat(core/rust): Add obj_module! macro
2 years ago
Martin Milata 30ec1802f4 chore(core): bump version to 2.5.1
2 years ago
Pavol Rusnak 9a8e257619 fix(core): fix SDL2 include path
2 years ago
Pavol Rusnak 334f7bbbe6 chore(common): defs cleanup
2 years ago
matejcik 61718aff49 feat(tools): make pyright_tool more user-friendly
2 years ago
Martin Milata 45276963c0 fix(core): fix timers for rust layouts
2 years ago
Martin Milata 4eefaffac9 fix(core/rust/ui): recovery/passphrase keyboard fixes
2 years ago
Martin Milata efe25a6ab4 fix(core/rust/ui): pin keyboard tweaks
2 years ago
Martin Milata d51072b8c1 refactor(core/rust/ui): unhardcode screen size
2 years ago
Jan Pochyla 801679bccf chore(core/rust): Add dynamic place system
2 years ago
David Misiak 915781bfb1 chore(cardano): update changelog and ui tests
2 years ago
David Misiak fec4fa2257 refator(cardano): validate map key order in HashBuilderDict
2 years ago
David Misiak a36fc6cadc fix(cardano): display tADA in testnet transactions
2 years ago
David Misiak 1f20c49536 feat(cardano): allow device-owned outputs in plutus txs
2 years ago
David Misiak 117c3c932f fix(cardano): update testnet protocol magic
2 years ago
David Misiak 962f689e8a feat(cardano): display tx id for plutus txs
2 years ago
David Misiak f0e230642b fix(cardano): display reward addresses for withdrawals
2 years ago
David Misiak 9f9535abb3 feat(cardano): add key hash stake credentials
2 years ago
David Misiak 2262602967 feat(cardano): add support for plutus transactions
2 years ago
David Misiak 1388912762 fix(cardano): add map key canonical order validation
2 years ago
David Misiak 143af80aea fix(cardano): add input validation
2 years ago
David Misiak 48587d83fe feat(cardano): add support for output datum hash and script data hash
2 years ago
David Misiak 2b3a53a6ae feat(cardano): add support for network id in tx body
2 years ago
Pavol Rusnak 6052e71bbb fix(core): fix build with FEATURE_FLAGS.SECP256K1_ZKP=False
2 years ago
matejcik cdca0bad9e fix(core): do not drop cashaddr prefix for QR code
2 years ago
Pavol Rusnak edb87359eb feat(core): headless emulator implies disabled animations
2 years ago
Andrew Kozlik 9e346b05da chore(core): Don't check fairness of mining fees in CoinJoin.
2 years ago
Andrew Kozlik 94d1a49eea chore(core): Rework checking of CoinJoin parameters.
2 years ago
Andrew Kozlik 8be6689150 chore(common): Rework AuthorizeCoinJoin message parameters.
2 years ago
Andrew Kozlik 556e8a147a chore(core): Make CoinJoin checks more lenient.
2 years ago
Andrew Kozlik 605e128ca0 chore(core): Simplify path warning UI.
2 years ago
Andrew Kozlik 94fa6d2515 feat(core): Guess weight of unverified external inputs.
2 years ago
Andrew Kozlik 43f1d67289 feat(core): Support unverified external inputs.
2 years ago
Andrew Kozlik c9e6ca30c9 feat(core): Ensure input's script type and path match the scriptPubKey.
2 years ago
matejcik 0b9f7db742 fix(core): support structs as array elements (fixes #2167)
2 years ago
matejcik 4e2129e0a0 feat(core): automatically choose best QR encoding
2 years ago
grdddj b9858f00c5 chore(tools): simplify build_protobuf file sources creation
2 years ago
grdddj 3d505874aa feat(ci): create pyright tool and include it in CI
2 years ago
matejcik db9f89ed4e chore(core): update Bitcoin testcases to use valid prevtxes
2 years ago
matejcik bbf286e050 fix(core/debug): only wait for layout when _enabling_ watch_layout
2 years ago
matejcik 390411098a build(core): enable ui_debug for non-frozen emulator
2 years ago
matejcik 59b5f48dc1 build(core): fix echo invocation for dash
2 years ago
Jan Pochyla 4c027a688c chore(core/rust): Simplify LayoutObj
2 years ago
Jan Pochyla 2b6f1a4d5c chore(core/rust): Use MultiTapKeyboard in passphrase
2 years ago
Jan Pochyla 3c337723b2 chore(core/rust): Add mnemonic keyboards
2 years ago
Pavol Rusnak c6667fa0c2 feat(core): verify bip340 pubkeys used in p2tr addresses
2 years ago
Pavol Rusnak b9bbd5fcd7 chore: update dependencies
2 years ago
Andrew Kozlik d52a59e37b feat(core): Show "signature is valid" dialog when VerifyMessage succeeds.
2 years ago
Andrew Kozlik 4d40d6dbfc feat(core): Support Electrum signatures in VerifyMessage.
2 years ago
Andrew Kozlik 473657fd44 chore(core): Tweak validation of pre-authorized GetOwnershipProof.
2 years ago
Martin Milata 80655747d0 test(core/rust/ui): pagination unit test
2 years ago
Martin Milata ab0eef5de0 fix(core/rust/ui): adjust spacing for confirm_action
2 years ago
Martin Milata 5378492ea9 chore(core/rust): wireframe rendering for ui debugging
2 years ago
Martin Milata 10650af1fa refactor(core/rust/ui): paragraphs breaking
2 years ago
Martin Milata b5da6dc911 refactor(core/rust): geometry/display API improvements
2 years ago
Martin Milata f2b8822d76 refactor(core): improve build-time option for old/new UI
2 years ago
Martin Milata b64c69c3ff feat(core/rust/ui): implement confirm_action
2 years ago
Martin Milata 6d1227d839 feat(core/rust/ui): SwipePage: add buttons, auto-disable scrolling
2 years ago
Martin Milata 695d80bf54 refactor(core/rust/ui): uPy buffer support for TT buttons
2 years ago
Martin Milata f167a2bef2 feat(core/rust/ui): add model T title bar
2 years ago
Martin Milata c7b33e2bc0 feat(core/rust/ui): add new icons
2 years ago
Martin Milata b46901bc8b feat(core): add TT Hoves fonts, introduce medium variant
2 years ago
matejcik abc593d19a tests: drop skip_ui support
2 years ago
Jan Pochyla d979efc3ca chore(core/rust): Try to simplify pagination a bit
2 years ago
Martin Milata 8fb28e4af5 feat(core/rust): impl Paginate for Paragraphs
2 years ago
Martin Milata f29ccf6009 fix(core/rust): UI tweaks
2 years ago
Martin Milata 48f29ee0b9 refactor(core/rust): return bounding box after laying out text
2 years ago
Martin Milata 7271606ca2 feat(core): smaller debug square on T1
2 years ago
Martin Milata bea696dfc9 feat(core/rust): Paginated for T1
2 years ago
Martin Milata 19b2358084 refactor(core/rust): T1 title bar
2 years ago
Martin Milata 7f224ab36d refactor(core/rust): model-agnostic Paginated
2 years ago
matejcik c236dfc814 style(core): type `object` doesn't have __slots__
2 years ago
matejcik a1c62098e9 fix(core/ethereum): implement hold-to-confirm for eip1559 transactions
2 years ago
grdddj 5d76144ef5 chore(common): always use resolve() when accessing parent of the Path
2 years ago
Jan Pochyla a3c79bf4f7 feat(core/rust): Add Paginated component
2 years ago
Jan Pochyla a7a305d34d fix(core/rust): Fix request_complete_repaint for components without any Child descendants
2 years ago
Jan Pochyla 129363f080 feat(core/rust): Add Trace to Paragraph[s], improve size calculation
2 years ago
Jan Pochyla d2c8c66385 feat(core/rust): First shot at Paragraphs API
2 years ago
Jan Pochyla 8c47b94b79 feat(core/rust): Add experimental LinearLayout
2 years ago
Jan Pochyla 3dd3d7f87b feat(core): Add HoldToConfirm example, improve Loader and animation frame support
2 years ago
Jan Pochyla 117a0bd518 feat(core): Add preliminary anim frame support
2 years ago
Jan Pochyla be3e99b96d feat(core): Add WiP Loader & generic Animation type
2 years ago
matejcik 87a7e94f5c feat(core/rust): add saturating multiplication by f32 to Duration
2 years ago
Andrew Kozlik 83686d1be2 chore(core): Add HashContextInitable protocol class.
2 years ago
Andrew Kozlik f17a435cdf refactor(core): Rename bitcoin_varint to compact_size.
2 years ago
Andrew Kozlik 0e58218f5f feat(core): Implement Bitcoin payment requests.
2 years ago
Andrew Kozlik d0c3a6a2fa chore(core): Add mac field to Address message.
2 years ago
Andrew Kozlik 2ac3d0acb4 feat(core): Implement GetNonce command.
2 years ago
Andrew Kozlik 0959947a88 chore(common): Add GetNonce, Nonce and TxAckPaymentRequest message.
2 years ago
Jan Pochyla baffe8fdf3 chore(core/rust): Add int variant to tracing
2 years ago
Jan Pochyla 5b0686f09a chore(core/rust): Forbid unsafe in components
2 years ago
Jan Pochyla 12deedf3f6 chore(core/rust): Add backlight fading fn
2 years ago
Jan Pochyla a54ca9cb05 chore(core/rust): Add micropython::time::sleep
2 years ago
Jan Pochyla 334a143b76 chore(core/rust): Split FormattedText into separate mod
2 years ago
Jan Pochyla d5a74a8614 chore(core/rust): Rename Text to FormattedText
2 years ago
Jan Pochyla 39263144b7 chore(core): Various little improvements in Rust UI
2 years ago
Jan Pochyla 998210d569 feat(core): Add Instant and Duration types
2 years ago
grdddj 8524f4b6ba feat(ui): InfoConfirm layout accepting DebugLinkDecision
2 years ago
Andrew Kozlik ba4f046d6f feat(common): Add INFO button to DebugLinkDecision.
2 years ago
Pavol Rusnak 37bd121394 chore(core/embed): check for negative values in trezor_get_uint
2 years ago
Martin Milata 98b1159b0b Merge branch 'release/22.01'
2 years ago
Andrew Kozlik ebc07fd6db ci: Suppress libSDL memory leaks.
2 years ago
Andrew Kozlik 49ae8848db fix(core): Fix memory leaks in emulator.
2 years ago
Andrew Kozlik 39b64b8569 fix(core): Fix stack-use-after-scope in display.c.
2 years ago
Martin Milata e3541997f0 ci(core): run nightly device tests with AddressSanitizer
2 years ago
Pavol Rusnak 4a71d15b1d chore(core/embed): refactor trezor_obj_get_uint64 into trezorobj.h
2 years ago
Alois Klink 5c4703c9bb fix(core,legacy): Fix domain-only ethTypedData
2 years ago
Andrew Kozlik cdf2129b73 fix(core): Fix proof of ownership sighash computation.
2 years ago
Andrew Kozlik 88a08e3512 chore(core): Increase maximum CoinJoin coordinator name length to 36 (2 lines).
2 years ago
matejcik e20879189f style(core): remove old-style annotations (Set, Tuple, Union)
2 years ago
matejcik 5e1dce35b3 style(core): remove unused type:ignore comments
2 years ago
matejcik 80f6463799 style(core): define obj_eq and obj_repr so that they pass type-check
2 years ago
matejcik 456959545c docs(core): add changelog for type-checking
2 years ago
matejcik 228c4db646 style(core): improve types in rlp.py
2 years ago
matejcik 8d8cfd6692 build: fully replace mypy with pyright
2 years ago
matejcik 45787307ca style(core): support AnyStr in all hash function arguments
2 years ago
matejcik dec89ea59e refactor(core): convert if/elif chains to if-chains
2 years ago
matejcik c3f2db3be5 refactor(core): improve type signature of bech32.convertbits
2 years ago
grdddj 9fc5bb546b style(core): full pyright-based type-checking
2 years ago
matejcik 9c5945a888 chore(core): add fake typing module (not included in build)
2 years ago
matejcik 1bfaec10e9 build(core): rewrite build_mocks with pathlib, add symlinks to ../mocks
2 years ago
matejcik bda1fa9912 build(core): exclude all "from typing" imports from build
2 years ago
FujiCoin 33c243be8d
feat(common): enable taproot for Fujicoin, fix xpub versions
2 years ago
Pavol Rusnak b0e0280465 chore: drop obsolete fw_vendor_keys field from Features
2 years ago
Pavol Rusnak 35d40cc164 fix(core): change logic of vendor header comparison
2 years ago
Martin Milata 3f12742669 chore(common): update coin support status
2 years ago
Martin Milata c0dbcf37e4 chore(common): update chains and tokens
2 years ago
gruve-p 3ab036a1d1
feat(common): enable Taproot on Groestlcoin
2 years ago