Pavol Rusnak
f13f065ac4
src/apps/wallet/sign_tx: fix style
2019-03-06 10:12:50 +01:00
Jan Pochyla
3f0e3a334e
fido_u2f: properly close u2f layout when other layout starts
...
As it's currently impossible to close() the layout generator from the outside, loop.signal() was added, and any started layout signals to terminate.
2019-03-05 13:49:42 +01:00
Andrew Kozlik
c23ad89ee1
storage: Fix bug in U2F counter upgrade.
2019-02-27 18:27:09 +01:00
Andrew Kozlik
edae40e22c
pin: do not allow the user to enter an empty PIN
...
An empty PIN is used to signify PIN removal and T1 does not allow entering an empty PIN neither via web-wallet nor via trezorctl.
2019-02-23 17:50:39 +01:00
Andrew Kozlik
e60914e30f
pin: avoid changing PIN unnecessarily
2019-02-23 17:50:28 +01:00
Andrew Kozlik
456a2c68d6
pin: change show_pin_timeout() to display arbitrary message
...
Don't pre-check old PIN when removing PIN protection.
2019-02-23 17:50:20 +01:00
Jan Pochyla
86bec3b0ae
seed: use sync backlight sliding
2019-02-21 13:22:57 +01:00
Tomas Susanka
f11373c0ee
xmr: set 8 null bytes using multiplication
2019-02-21 09:11:54 +01:00
Tomas Susanka
6124c21915
style
2019-02-20 14:38:36 +01:00
Tomas Susanka
2b048ce25c
xmr: typos in comments
2019-02-20 14:00:43 +01:00
Tomas Susanka
765d88c2b7
Merge pull request #478 from ph4r05/pr/hf10
...
xmr: hardfork 10 upgrade
2019-02-20 13:51:02 +01:00
Dusan Klinec
bba8bf38eb
xmr: hf10 upgrades
...
- Deterministic output commitment masks, based on amount_key
- Bulletproof v2 serialization, EcdhInfo serialized as 8 B amount, XOR encrypted by a specific key derived from amount key
- Signing - pseudo_out recomputation on inputs, sign step
- Dummy encrypted payment ID (if applicable) for better transaction uniformity
2019-02-19 14:36:27 +01:00
Pavol Rusnak
1bc69fa2d6
src/apps/management/recovery_device: ask for PIN in dry_run
2019-02-18 20:05:26 +01:00
Pavol Rusnak
0751c667c3
src/apps/management/recovery_device: constant time mnemonic checking in dry run
2019-02-18 18:44:27 +01:00
Dusan Klinec
72631db462
pb built, templates built
2019-02-18 17:19:05 +01:00
Tomas Susanka
7e3673ad26
common: remove coins.by_address_type because there are conflicts
...
Unfortunetly, there are coins with the same `address type` field. For
example ZClassic Coin uses the same one as Zcash.
2019-02-18 17:00:17 +01:00
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
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
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