1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00
Commit Graph

1323 Commits

Author SHA1 Message Date
Andrew Kozlik
fd6eb333a6
src/apps/common/storage: allow U2F counter to be written even when storage is locked 2019-02-15 12:43:38 +01:00
andrew
52c7f0eb93
config: Use efficient implementation of U2F counter from trezor-storage. 2019-02-15 12:41:55 +01:00
andrew
36f354714d
modtrezorconfig: Chenge ui_wait_callback() to return secbool. 2019-02-15 12:39:18 +01:00
andrew
8541c4265b
Fix comment in _next_counter(). 2019-02-15 12:39:17 +01:00
andrew
1d43f9bea2
Delete the U2F counter if it's set to None. 2019-02-15 12:39:17 +01:00
andrew
32c80e9889
Make U2F counter public. 2019-02-15 12:39:17 +01:00
andrew
a19446fabd
Fix use_passphrase setting in storage.py. 2019-02-15 12:39:17 +01:00
andrew
e3ab0dfbcb
Reformat Python files using black, isort and flake8. 2019-02-15 12:39:16 +01:00
andrew
fa7b496a9a
Revert changes to seed recovery dialog, to avoid tests failing. These changes were moved to the branch andrewkozlik/pin-messages. 2019-02-15 12:39:16 +01:00
andrew
8be3896038
Convert U2F counter from private to public to take advantage of the more efficient implementation. 2019-02-15 12:39:16 +01:00
andrew
4cea4d2a4a
Implement efficient counter in storage.py. 2019-02-15 12:39:15 +01:00
andrew
7f7a8a2ca6
Store boolean values as '0x00' and '0x01' instead of '' and '0x01'. 2019-02-15 12:39:15 +01:00
andrew
11ba0b424e
Improve messages in the seed recovery dialog to better match the terminology used in Trezor wallet. 2019-02-15 12:39:15 +01:00
andrew
efe8a7f065
Improve messages in the Enable PIN dialog and Change PIN dialog. 2019-02-15 12:39:15 +01:00
andrew
3517018f30
Display the number of PIN entry attempts remaining. 2019-02-15 12:39:15 +01:00
andrew
9f75d342a4
Add trezor-storage submodule. Update modtrezorconfig to work with the new storage_get() interface. Update tests to expect None instead of bytes(), when the value is not found in the storage. 2019-02-15 12:39:14 +01:00
Pavol Rusnak
ae9cdec0d8
src/apps/wallet/sign_tx: add default values for branch_id (zcash) 2019-02-15 01:51:23 +01:00
Dusan Klinec
ab9ab25355
xmr: get_tx_keys, live_refresh 2019-02-13 13:28:42 +01:00
Jan Pochyla
ce972a7a32 fix code style 2019-02-05 12:52:34 +01:00
Jan Pochyla
8cebcaba01 nem: fix mosaic properties list 2019-02-05 11:05:43 +01:00
Pavol Rusnak
67c07902a3
src/apps/wallet/sign_tx: fix typo 2019-02-04 13:57:31 +01:00
Pavol Rusnak
f60e689a4e
src/apps/wallet/sign_tx: fix style 2019-02-04 01:51:56 +01:00
Pavol Rusnak
4225fe7fa8
src/apps/wallet/sign_tx: implemented simplified API for MultisigRedeemScriptType
If address_n is the same for all nodes in the multisig, provide it just once
and supply nodes directly (not in the HDNodePathType structure)
2019-02-04 01:15:13 +01:00
Pavol Rusnak
6974d037a9
src/apps/wallet/sign_tx: implement tx.branch_id field 2019-01-31 21:03:58 +01:00
Tomas Susanka
38b3e44ac9 cardano: send ButtonRequest.Address in get_address 2019-01-29 17:24:25 +01:00
Tomas Susanka
4e9ef09798 eth: modify sign_tx to accept strings as well 2019-01-29 17:19:10 +01:00
Tomas Susanka
1946a9f93e eth: modify sign/verify functions to accept addresses as strings 2019-01-29 17:19:10 +01:00
Tomas Susanka
3387b157a7 eth: EthereumGetAddress returns address as a string 2019-01-29 17:19:10 +01:00
Tomas Susanka
02abf11798 protobuf: rebuild 2019-01-29 17:19:10 +01:00
Tomas Susanka
20c97e85ad
Merge pull request #417 from vacuumlabs/cardano-improvements
Cardano improvements
2019-01-29 16:47:25 +01:00
Jan Pochyla
2c2930c663 utils: fix unimporting partially-imported modules
Previously, delattr from the parent package might throw KeyError.
2019-01-29 13:57:24 +01:00
refi93
516dc4608d
add cardano output address validation 2019-01-25 16:29:08 +01:00
refi93
2b2e2d0145 cardano better address export,sign tx UX,format fix, prot. magic instead of network 2019-01-18 18:22:58 +01:00
Tomas Susanka
ea775c2750 stellar: allow different source address (#462) 2019-01-18 17:29:10 +01:00
Jan Pochyla
305a364e73 ui: render some wrapper components synchronously
This makes the wrappers (like Scrollpage and HoldToConfirmDialog) a bit weaker, as they won't support child components with custom event loop, but making the render/touch steps synchronous has other benefits. For example, io-heavy task of one child won't stall the other children.
2019-01-17 16:59:16 +01:00
Jan Pochyla
139ca3ced4 wallet: fix rendering issue in progres reporting 2019-01-17 16:55:33 +01:00
Jan Pochyla
dca0068218 seed: render the waiting screen in layout 2019-01-17 16:54:35 +01:00
Tomas Susanka
37e50853f7 stellar: write 0 integers correctly in SetOptionsOp 2019-01-17 14:12:02 +01:00
Tomas Susanka
ee1a0fb8e0 stellar: fix issue when signer_type = 0 (#463) 2019-01-17 13:42:22 +01:00
Tomas Susanka
c737ddde67 stellar: show address in SetOptionsOp 2019-01-17 10:29:27 +01:00
Tomas Susanka
89dc1966df protob: build; templates: build 2019-01-16 15:55:01 +01:00
Jan Pochyla
2d70d5d447 management: restore u2f_counter on device recovery 2019-01-15 17:02:23 +01:00
Tomas Susanka
ccd79ca324 eth: get public key 2019-01-15 14:10:46 +01:00
Jan Pochyla
a97cf7fbc2 wallet: fix multisig issue introduced in 4db5f56d 2019-01-15 13:17:12 +01:00
Jan Pochyla
4db5f56d0a wallet: fix ergonomic issue in the multisig structure
Previously, it wasn't completely clear that MultisigRedeemScriptType.signatures needs to contain empty bytes for missing signatures. Now it can be shorter or even empty.
2019-01-14 18:11:28 +01:00
Pavol Rusnak
4ee69f1e3f
seed: add display.refresh to seed loading waiting screen 2019-01-14 17:53:40 +01:00
Jan Pochyla
d2aef38bd8
seed: add progress callback to bip39.from_seed, draw loader 2019-01-14 17:53:40 +01:00
Jan Pochyla
a0c8e977a2
seed: show a waiting screen before bip39 derivation 2019-01-14 17:53:39 +01:00
Jan Pochyla
e40e3c1fbc monero: use trezor.utils.format_amount 2019-01-10 13:16:28 +01:00
Jan Pochyla
3a408591d3 lisk: use trezor.utils.format_amount 2019-01-10 13:16:28 +01:00