gabrielkerekes
2c503b16f5
fix(common): fix one value enums in pb2py
2021-04-23 11:09:29 +02:00
Tomas Susanka
e82aacbc7c
docs(legacy/changelog): add note on bootloader
2021-04-22 09:41:58 +02:00
Pavol Rusnak
f606b71881
fix(legacy): update intermediate_fw version to 1.10.0
2021-04-21 18:49:09 +02:00
Pavol Rusnak
f93a8514e8
fix(legacy): update embedded bootloader hash
2021-04-21 16:00:09 +02:00
Pavol Rusnak
1f6fe62fd2
build(legacy): don't try to build intermediary_fw for emulator
2021-04-20 22:08:01 +02:00
Pavol Rusnak
c6dc708fe6
build(legacy): build bootloader and intermediary_fw in docker
2021-04-20 21:37:06 +02:00
Pavol Rusnak
73ae44f500
fix(legacy): rebuild bundled bootloader (deterministically)
2021-04-19 18:32:47 +02:00
Pavol Rusnak
65cefbc879
docs: remove wallet.trezor.io references
2021-04-16 16:18:48 +02:00
Pavol Rusnak
0d37824b01
fix(legacy): show dialog before rebooting to bootloader
2021-04-15 18:01:09 +02:00
mcudev
e3539b0a73
core/embed/usb: add back usb fs code for t1 and redo fifo sizing
2021-04-14 23:03:29 +02:00
mcudev
6137a55b06
core/embed/usb: use all available usb endpoints and update the usb fifo sizing
2021-04-09 12:50:40 +02:00
Pavol Rusnak
2852b947ec
chore(core): regenerate coins
2021-04-08 14:17:43 +02:00
xloem
e821104237
fix(crypto): update case of windows.h ( #1560 )
...
When building for windows on a case-sensitive system, mingw always comes with a lower-case windows.h
2021-04-08 14:16:23 +02:00
Pavol Rusnak
6b371749bc
fix(common): fix errors in coin definitions
2021-04-07 16:37:56 +02:00
HyperPeek
13fbb25f0b
feat(common): add tRVN ( #1561 )
2021-04-07 16:26:52 +02:00
Martin Milata
88cdb72aec
ci: bump nixpkgs version to latest
2021-04-06 22:06:12 +02:00
Martin Milata
8e00904a3f
ci: unified shell.nix for hardware tests
2021-04-06 22:06:12 +02:00
Martin Milata
720eaa3abd
ci: run monero tests on hardware
2021-04-06 22:06:12 +02:00
Alexis Hernandez
bb1c638d3b
legacy: Update op_return max size to 150 bytes
...
The goal is to allow Trezor 1 to create TPoS contracts for Stakenet.
Last year, Stakenet introduced a hard-fork [1] to change the way TPoS contracts
are created, instead of a custom signature method, now it works with the
output from the signMessage method, while this works for Trezor T, it doesn't
work for Trezor 1 due to the 80 bytes limit on the OP_RETURN output while
Stakenet allows up to 150 bytes [2], in a gitter discussion [3] we concluded that
the change should be fine.
The hard-fork was introduced because we couldn't got our TPoS contracts PR accepted [4],
the OP_RETURN still contains the same data, its just stored in a different way:
- The TPoS address, where the coins to stake are stored, and where rewards are received.
- The merchant address, where the merchant receives its commission.
- The contract commission.
- The TPoS collateral signature (this is what uses the signMessage now).
At last, there is an example transaction creating a TPoS contract [5].
[1]: https://github.com/X9Developers/XSN/pull/154
[2]: https://github.com/X9Developers/XSN/blob/master/src/script/standard.h#L34
[3]: https://gitter.im/trezor/community?at=6064c41e940f1d555e2ea670
[4]: https://github.com/trezor/trezor-firmware/pull/140
[5]: https://xsnexplorer.io/transactions/858feb31097501cf68d698cde104cf778ec51ff3668e943404b549a5dd2f5792
2021-04-06 10:15:59 +02:00
Martin Milata
ac711fb8ee
style(core): use more recent type annotation syntax
...
https://www.python.org/dev/peps/pep-0585/ - Type Hinting Generics In Standard Collections
https://www.python.org/dev/peps/pep-0604/ - Allow writing union types as X | Y
2021-04-01 11:12:30 +02:00
Martin Milata
0278998f72
style(common): mypy: disable implicit Optional for function arguments
2021-04-01 11:12:30 +02:00
Martin Milata
8b3ac659a0
style(core): mypy: disable implicit Optional for function arguments
...
https://www.python.org/dev/peps/pep-0484/#union-types
2021-04-01 11:12:30 +02:00
Pavol Rusnak
bb30f5026c
docs: clear up licensing information
...
[skip_ci]
2021-03-31 18:51:52 +02:00
Martin Milata
f97af2af1b
chore(core/ui): typing: no implicit Optional
2021-03-30 22:34:01 +02:00
Martin Milata
da72482c2f
refactor(core/ui): get rid of confirm_wipe
2021-03-30 22:34:01 +02:00
Martin Milata
c0174ff217
refactor(core/ui): raise exception on dialog cancel by default
2021-03-30 22:34:01 +02:00
Martin Milata
2b6ea25712
refactor(core): convert rest of apps.bitcoin to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
b1e38fe382
refactor(core): no implicit spaces in render_text
2021-03-30 22:34:01 +02:00
Martin Milata
2a5f5c1c20
refactor(core): convert parts of apps.monero to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
6668921a4f
refactor(core): convert apps.common.request_pin to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
01900b8536
refactor(core): convert parts of apps.webauthn to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
ffe6d65f72
refactor(core): convert parts of apps.management to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
c09a142e2a
refactor(core): convert apps.misc.* to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
0b5d17bf49
refactor(core/ui): merge confirm_hexdata and show_pubkey
2021-03-30 22:34:01 +02:00
Martin Milata
6ded531f8f
refactor(core): convert apps.common.sdcard to layouts
2021-03-30 22:34:01 +02:00
Martin Milata
035f114125
fix(core/ui): don't return CONFIRMED/CANCELLED from layouts
2021-03-30 22:34:01 +02:00
Pavol Rusnak
f128e4a1c2
docs(legacy): use the correct binary name when building via docker
2021-03-27 09:23:45 +01:00
Andrew Kozlik
01e7700333
fix(legacy): Flip bitmaps correctly.
2021-03-26 14:49:21 +01:00
Andrew Kozlik
a755e99ccc
feat(legacy): Display nLockTime in human-readable form.
2021-03-26 14:49:21 +01:00
Rafael Korbas
a9b8b0e119
feat(core/cardano): chunked serialization of signed transaction
2021-03-26 11:15:19 +01:00
gabrielkerekes
3cb686d452
fix(core/cardano): make witnesses order deterministic
2021-03-26 11:15:19 +01:00
Andrew Kozlik
25411e22c9
test(core): Add unit test for modtrezorconfig counter.
2021-03-26 10:54:56 +01:00
Andrew Kozlik
4c2e4bcb65
fix(storage): Check for overflow in counter increment.
2021-03-26 10:54:56 +01:00
Andrew Kozlik
2836bfc64c
fix(core): Improve error handling and range checking in modtrezorconfig.
2021-03-26 10:54:56 +01:00
mcudev
23abf7aff0
python/trezorctl: make bitcoin regtest a supported coin for trezorctl btc get-descriptor
2021-03-25 15:52:34 +01:00
Andrew Kozlik
cdcc1b949f
docs(storage): Update storage encryption documentation.
2021-03-25 14:24:41 +01:00
Andrew Kozlik
151592c6a3
test: Add upgrade test with enabled wipe code for legacy.
2021-03-25 14:24:41 +01:00
Andrew Kozlik
9bd4465fbf
test: Add test for progressive storage version upgrades without unlocking in between.
2021-03-25 14:24:41 +01:00
Andrew Kozlik
aaa1ea6352
test: Add upgrade test with enabled PIN for legacy.
2021-03-25 14:24:41 +01:00
Andrew Kozlik
8f5f5daaab
test(storage): Update tests to comply with new storage version and interface.
2021-03-25 14:24:41 +01:00