1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-30 10:28:14 +00:00
Commit Graph

1972 Commits

Author SHA1 Message Date
grdddj
3b74bfa368 WIP - better importing compatible with pyright 2022-03-14 18:50:33 +01:00
grdddj
ac744c001c WIP - mnemonic secret, rotation fix, overall improvements 2022-03-14 17:58:04 +01:00
grdddj
bbb36a22b2 WIP - get_rotation, set_rotation rust bindings 2022-03-14 12:09:38 +01:00
grdddj
afd8b2ff38 fixup! WIP - using obj_module!, is_initialized rust binding 2022-03-11 10:55:19 +01:00
grdddj
1c87e57570 WIP - using obj_module!, is_initialized rust binding 2022-03-11 10:23:49 +01:00
grdddj
bcf837694b WIP - storage_get rust binding 2022-03-10 16:41:28 +01:00
grdddj
6702df58dd WIP - migrating storage/device.py into rust 2022-03-10 16:41:28 +01:00
Jan Pochyla
a581ace9d5 chore(core/rust): Add uPy-exported io_usb_start fn 2022-03-10 16:41:23 +01:00
Jan Pochyla
47d56deed3 chore(core/rust): Fix ref issues in poll 2022-03-10 16:34:18 +01:00
Jan Pochyla
c0962be091 chore(core/rust): Add IO module and polling function 2022-03-10 16:34:18 +01:00
Jan Pochyla
53918e1a4b chore(core/rust): Add rudimentary docs 2022-03-10 16:34:18 +01:00
Jan Pochyla
66eff79062 chore(core/rust): Use plain fns for USB 2022-03-10 16:34:18 +01:00
Jan Pochyla
d9d2b3122f chore(core/rust): Add global serial number storage 2022-03-10 16:34:18 +01:00
Jan Pochyla
5fa9c7d43c chore(core/rust): Reorg USB, add test with an example 2022-03-10 16:34:18 +01:00
Jan Pochyla
68be00a537 chore(core/rust): Add WIP Usb bindings to Rust 2022-03-10 16:34:13 +01:00
Martin Milata
744f4d6bfa fixup! feat(core/rust): Add obj_module! macro 2022-03-10 15:52:46 +01:00
Martin Milata
834e584e14 feat(core/rust/ui): return Layout results as singleton objects
[no changelog]
2022-03-10 15:07:51 +01:00
Martin Milata
8519ca7eb7 build(core): fix TREZOR_EMULATOR_DEBUGGABLE
[no changelog]
2022-03-10 15:07:51 +01:00
Jan Pochyla
681ac69b3f feat(core/rust): Add obj_module! macro
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
2022-03-10 15:06:43 +01:00
matejcik
0b9f7db742 fix(core): support structs as array elements (fixes #2167) 2022-03-10 13:04:54 +01:00
matejcik
4e2129e0a0 feat(core): automatically choose best QR encoding 2022-03-10 11:27:21 +01:00
grdddj
b9858f00c5 chore(tools): simplify build_protobuf file sources creation 2022-03-04 11:42:51 +01:00
grdddj
3d505874aa feat(ci): create pyright tool and include it in CI
[no changelog]
2022-03-02 15:43:50 +01:00
matejcik
db9f89ed4e chore(core): update Bitcoin testcases to use valid prevtxes
[no changelog]

Co-authored-by: grdddj <jiri.musil06@seznam.cz>
2022-02-28 15:45:29 +01:00
matejcik
bbf286e050 fix(core/debug): only wait for layout when _enabling_ watch_layout 2022-02-21 14:37:25 +01:00
matejcik
390411098a build(core): enable ui_debug for non-frozen emulator 2022-02-18 11:27:23 +01:00
matejcik
59b5f48dc1 build(core): fix echo invocation for dash 2022-02-18 11:27:23 +01:00
Jan Pochyla
4c027a688c chore(core/rust): Simplify LayoutObj 2022-02-18 11:27:23 +01:00
Jan Pochyla
2b6f1a4d5c chore(core/rust): Use MultiTapKeyboard in passphrase 2022-02-17 15:17:11 +01:00
Jan Pochyla
3c337723b2 chore(core/rust): Add mnemonic keyboards 2022-02-17 15:17:11 +01:00
Pavol Rusnak
c6667fa0c2 feat(core): verify bip340 pubkeys used in p2tr addresses
Co-Authored-By: Ondřej Vejpustek <ondrej.vejpustek@satoshilabs.com>
2022-02-16 10:25:15 +01:00
Pavol Rusnak
b9bbd5fcd7 chore: update dependencies
[no changelog]

Co-Authored-By: Martin Milata <martin@martinmilata.cz>
2022-02-15 13:28:03 +01:00
Andrew Kozlik
d52a59e37b feat(core): Show "signature is valid" dialog when VerifyMessage succeeds. 2022-02-11 15:36:00 +01:00
Andrew Kozlik
4d40d6dbfc feat(core): Support Electrum signatures in VerifyMessage. 2022-02-11 15:36:00 +01:00
Andrew Kozlik
473657fd44 chore(core): Tweak validation of pre-authorized GetOwnershipProof.
In pre-authorized GetOwnershipProof requests ensure that the commitment data
starts with a length-prefixed name of the CoinJoin coordinator.

[no changelog]
2022-02-11 13:56:27 +01:00
Martin Milata
80655747d0 test(core/rust/ui): pagination unit test
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
ab0eef5de0 fix(core/rust/ui): adjust spacing for confirm_action
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
5378492ea9 chore(core/rust): wireframe rendering for ui debugging
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
10650af1fa refactor(core/rust/ui): paragraphs breaking
Also fix corner case.

[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
b5da6dc911 refactor(core/rust): geometry/display API improvements
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
f2b8822d76 refactor(core): improve build-time option for old/new UI
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
b64c69c3ff feat(core/rust/ui): implement confirm_action
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
6d1227d839 feat(core/rust/ui): SwipePage: add buttons, auto-disable scrolling
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
695d80bf54 refactor(core/rust/ui): uPy buffer support for TT buttons
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
f167a2bef2 feat(core/rust/ui): add model T title bar
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
c7b33e2bc0 feat(core/rust/ui): add new icons
[no changelog]
2022-02-10 14:57:42 +01:00
Martin Milata
b46901bc8b feat(core): add TT Hoves fonts, introduce medium variant
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>

[no changelog]
2022-02-10 14:57:42 +01:00
matejcik
abc593d19a tests: drop skip_ui support 2022-02-08 16:34:54 +01:00
Jan Pochyla
d979efc3ca chore(core/rust): Try to simplify pagination a bit
[no changelog]
2022-02-08 15:40:37 +01:00
Martin Milata
8fb28e4af5 feat(core/rust): impl Paginate for Paragraphs
[no changelog]
2022-02-08 15:40:37 +01:00