Pavol Rusnak
810b34f579
fix(legacy): update sector argument to match flash_erase_sector size
2022-05-26 17:18:20 +02:00
grdddj
9261f2ffce
feat(common): add wallet info to cointool dump
2022-05-26 12:18:40 +02:00
grdddj
08f463e5e8
chore(common): small improvements to cointool dump
2022-05-26 12:18:40 +02:00
grdddj
519f79f9eb
chore(common): add type hints to some coin tools scripts
...
Type-checking tools are still complaining at some places about inconsistencies.
It would be too much effort to make them completely happy.
2022-05-26 12:18:40 +02:00
grdddj
5671bd037b
chore(core): add type hints to emu.py
2022-05-25 16:12:47 +02:00
Martin Novak
85f0d3a741
feat(core,legacy): show fee rate when signing transaction
2022-05-25 14:43:45 +02:00
Martin Milata
1e0fa3428c
ci: fix UI master diff
2022-05-25 10:35:22 +02:00
David Misiak
a1eaa465aa
chore(cardano): remove legacy types
2022-05-23 11:08:52 +02:00
vdovhanych
fa2b161d6a
ci: update arm jobs to run on tags and use the official nix image
2022-05-21 17:25:31 +02:00
Ondřej Vejpustek
a198b390ff
fix(legacy,core): fix size of secp256k1-zkp context
...
[no changelog]
2022-05-20 17:29:07 +02:00
grdddj
14a0bc13ce
chore(docs): mention that .mako files are rendered by make templates
...
[no changelog]
2022-05-19 14:09:16 +02:00
grdddj
6dc4426151
feat(ui): setup homescreen and label for model R
...
[no changelog]
2022-05-19 14:09:16 +02:00
Martin Milata
c5f1bec474
Merge branch 'release/22.05'
2022-05-18 12:43:53 +02:00
matejcik
187ca8ad50
feat(core/rust): List::from_iter
...
[no changelog]
2022-05-17 15:56:26 +02:00
matejcik
b3b3e0efa4
tests(core/rust): ability to set up MicroPython env for testing
...
warning: super hacky!
[no changelog]
2022-05-17 15:56:26 +02:00
Ondřej Vejpustek
bdfc453245
refactor(crypto): remove code that is duplicated in secp256k1-zkp submodule
2022-05-16 16:23:18 +02:00
Ondřej Vejpustek
53d522a1fd
fix(crypto): reduce digest in RFC6979 to match specification
2022-05-16 16:23:18 +02:00
Ondřej Vejpustek
ea5886026f
refactor(crypto,legacy): extend parameters of init_rfc6979 by curve
2022-05-16 16:23:18 +02:00
Ondřej Vejpustek
db0da196a8
chore(vendor): update secp256k1-zkp to latest
2022-05-16 16:23:18 +02:00
Pavol Rusnak
38ad9ab9e5
fix(python): only even-width grayscale icons are supported
...
[no changelog]
2022-05-16 15:01:37 +02:00
Martin Milata
c257a8a687
fix(core/ui/rust): painting of overlapping Maybe<T> components
...
[no changelog]
2022-05-16 13:54:43 +02:00
Martin Milata
168389a7b3
ci: silence syntax warnings
2022-05-16 13:54:43 +02:00
Martin Milata
b5dfda6a1d
fix(core/rust/ui): support longer PIN
...
[no changelog]
2022-05-16 13:54:43 +02:00
Martin Milata
31e63f688e
fix(core/rust/ui): implement warning for PIN dialog
...
[no changelog]
2022-05-16 13:54:43 +02:00
Martin Milata
3dcdffe203
refactor(core/rust/ui): emit event when component tree is initialized
...
[no changelog]
2022-05-16 13:54:43 +02:00
Martin Milata
7b5c618576
refactor(core/rust/ui): erase button clears PIN after 2s
...
[no changelog]
2022-05-16 13:54:43 +02:00
Martin Milata
e58736f746
feat(core/rust/ui): show PIN digits when touched
...
[no changelog]
2022-05-16 13:54:43 +02:00
Dusan Klinec
5e6582a3fe
feat(xmr): add support for HF15, BP+
2022-05-16 12:37:24 +02:00
Dusan Klinec
14e08ca9db
fix(xmr): remove 8192B from firmware image so it can fit to the memory
...
- old BP GI, HI constants are shortened to reduce firmware size
2022-05-16 12:37:24 +02:00
Dusan Klinec
25d32a8144
feat(xmr): implement bp+, refactor, code cleanup
...
- implement BulletProof plus verifier and prover
- use bulletproof exception to signalize proof generation failed and should be tried again. More robust, fixes bug that was not triggered yet (return tuple did not work properly in all situations)
- precomputed 2**i vector is removed as it can be easily computed
- BP code cleanup, minor optimizations, comments
2022-05-16 12:37:24 +02:00
matejcik
6feada2eed
style(python/monero): improve type signature on Monero functions
2022-05-16 12:37:24 +02:00
matejcik
0c1eb0c30d
feat(core/tools): support @overloads in generated mocks
...
[no changelog]
2022-05-16 12:37:24 +02:00
grdddj
5c493f05ef
snippet: unused Monero mapping
2022-05-16 12:37:24 +02:00
Dusan Klinec
98ec1fb067
chore(core/monero): update test binary to newest version
...
[no changelog]
Co-authored-by: Martin Milata <martin@martinmilata.cz>
2022-05-16 12:37:24 +02:00
Dusan Klinec
e69467bc04
chore(crypto): drop support for Monero range proof
2022-05-16 12:37:24 +02:00
matejcik
221a7c9973
fix(core): drop support for __slots__ from obj_eq / obj_repr
...
__slots__ are unsupported in micropython
[no changelog]
2022-05-16 12:37:24 +02:00
Dusan Klinec
33c174491f
refactor(core/monero): Monero code cleanup
...
* remove support for HF12 and below
* remove MLSAG support
* clean up monero cryptography naming
* get rid of "optional first argument" pattern, in favor of mandatory argument that is allowed to be None
(and fix several bugs related to this feature)
Co-authored-by: grdddj <jiri.musil06@seznam.cz>
Co-authored-by: Martin Milata <martin@martinmilata.cz>
Co-authored-by: matejcik <ja@matejcik.cz>
2022-05-16 12:37:24 +02:00
matejcik
99c817bad4
fix(core/emulator): make sure SDL keyboard and quit events are always processed
...
fixes #973
2022-05-16 10:59:48 +02:00
grdddj
feb96c84b0
chore(core/rust): use clippy for all features
2022-05-16 10:49:04 +02:00
Andrew Kozlik
11cb171e1a
fix(tools): Strip old header in firmware_hash.py.
2022-05-11 11:14:03 +02:00
tychovrahe
55bfab3976
build(core): skip bootloader and boardloader compilation for Model 1
2022-05-10 16:49:23 +02:00
tychovrahe
8a092bde21
feat(core): add smaller loader for model R
2022-05-10 16:49:23 +02:00
tychovrahe
bd476769cc
feat(core): add reset state on display clear on model R. Added to rest of the models as noop.
2022-05-10 16:49:23 +02:00
tychovrahe
58041036f5
feat(core): set colors for monochromatic displays
2022-05-10 16:49:23 +02:00
tychovrahe
0e778cf16d
fix(core): fix display_icon function - incorrect boundaries checks
2022-05-10 16:49:23 +02:00
tychovrahe
f7a3aad9bd
feat(core): initial Model R display implementation with framebuffer
2022-05-10 16:49:23 +02:00
tychovrahe
936c84bac6
feat(core): added button support for Model R
2022-05-10 16:49:23 +02:00
grdddj
7804893179
feat(core/rust): create model_tr feature
...
Make event.rs shared among all features, under src/ui/event.rs.
[no changelog]
2022-05-06 11:44:52 +02:00
grdddj
12da7f301d
feat(core): allow for model R in firmware build
...
As model R will run on the same computational hardware as model T,
memory_R.ld is just a symbolic link to memory_T.ld.
[no changelog]
2022-05-06 11:44:52 +02:00
grdddj
8e1b5a969c
feat(python): support model R in trezorlib
2022-05-06 11:44:52 +02:00