1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-23 22:01:01 +00:00
Commit Graph

891 Commits

Author SHA1 Message Date
Tomas Susanka
22dfe10c56 monero: drop secp256k1 curve 2019-04-05 11:58:10 +02:00
Jan Pochyla
d1a01bebc5 seed: simplify Keychain.validate_path 2019-04-04 11:41:23 +02:00
Tomas Susanka
7cadefcdd0 common: pass Keychain to path validation function
closes #519
2019-04-03 10:36:15 +02:00
Tomas Susanka
64925350a2 monero: correct header in live refresh confirmation 2019-03-29 17:23:00 +01:00
Tomas Susanka
e53826e951
Merge pull request #503 from vacuumlabs/cardano-taint
cardano: taint pages to prevent blank screen
2019-03-29 16:21:35 +01:00
Tomas Susanka
5deeb7d6f5 mnemonic: do not use progress bar for U2F
fixes #523
2019-03-29 14:27:27 +01:00
Matúš Juran
fc46373d89 cardano: taint pages
Taint pages to ensure the texts are rendered when swiping.
2019-03-18 14:16:44 +01:00
Tomas Susanka
05c055080a style: fix for black v19.3b0 2019-03-15 14:30:57 +01:00
Tomas Susanka
d02d173e69 vendor: update trezor-common 2019-03-12 10:52:33 +01:00
Tomas Susanka
5c37e8dae2 common: introduce mnemonic module
To provide another layer between seed and mnemonic. First step to
introduce SLIP-39
2019-03-12 10:35:34 +01:00
Tomas Susanka
b591219c5d cardano: remove sign/verify functions
They are not currently used anyway. Protobuf messages are missing and they are not registered. Closes #492
2019-03-11 10:01:11 +01:00
Pavol Rusnak
b2f1cb2b97
apps/webauthn: re-add generic icon 2019-03-09 20:20:52 +01:00
Pavol Rusnak
e02ab996a0
src/apps: rename fido_u2f app to webauthn app
add more WebAuthn facets
2019-03-09 18:59:42 +01:00
Yegor Timoshenko
4c59b02d90 u2f: capitalize Bitwarden (#491) 2019-03-07 13:42:51 +01:00
Yegor Timoshenko
57d1fe948c u2f: fix "u2f.bin.coffee" label (#490) 2019-03-07 13:39:43 +01:00
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