1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00
Commit Graph

7726 Commits

Author SHA1 Message Date
Jan Pochyla
07de336586 core/pin: do not allow empty pin 2019-06-25 13:23:48 +02:00
Jan Pochyla
4d0fe4d064 core/management: fix various reset/backup/recovery ui bugs 2019-06-25 13:23:48 +02:00
Tomas Susanka
989fb1491f core/slip39: suggest word sooner when a single one is left 2019-06-25 10:35:19 +02:00
Pavol Rusnak
1ec5d091fd core/usb: call wait_random just before returning the data 2019-06-24 19:13:12 +02:00
Tomas Susanka
0daf2bf6b6 core/reset device: remove unnecessary check 2019-06-24 15:25:21 +02:00
Pavol Rusnak
a978290d50
legacy: detect CALLBACK fields and fail build when found 2019-06-24 15:23:14 +02:00
Pavol Rusnak
848051efcf
legacy: don't process EthereumAddress.old_address via callback 2019-06-24 15:02:58 +02:00
Tomas Susanka
30e8eb421a git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "71bd68c8"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "71bd68c8"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-06-24 13:53:09 +02:00
Jan Pochyla
03f23fe940 core/mnemonic: cancel homescreen before seed progress animation
If we close the default layout before the animation starts, the workflow manager starts it again after the current workflow ends (and no layout is running).
2019-06-24 13:12:12 +02:00
Tomas Susanka
10f15a6952 core: bump version to 2.1.2 2019-06-24 09:13:18 +02:00
Tomas Susanka
435d00114c
SLIP-39 MVP (#195)
SLIP-39 MVP
2019-06-23 21:48:09 +02:00
Tomas Susanka
b65896b24e python: add device test for SLIP-39 recovery device; fix reset device 2019-06-23 21:33:58 +02:00
Tomas Susanka
80f8f7900d core: add slip39 support to reset and recovery device 2019-06-23 21:33:58 +02:00
Tomas Susanka
49d6a35249 core: add slip39 keyboard 2019-06-23 21:33:58 +02:00
Tomas Susanka
132519123e common: add slip39 flag to reset_device 2019-06-23 21:27:06 +02:00
Tomas Susanka
ab028965fe python: add slip39 option to device recovery 2019-06-23 21:27:06 +02:00
sergeykrasilnik
f726d58c55 common/defs: add XRC wallet link (#256) 2019-06-23 20:36:08 +02:00
Roman Zeyde
6fb76f95d1 core: ensure correct pubkeyhash/witprog length in scripts.py (#254) 2019-06-22 16:22:00 +02:00
Pavol Rusnak
e3e2811f7a
core: throw exception classes instead of instances where possible 2019-06-22 02:14:02 +02:00
Pavol Rusnak
312224b7a3
core: fix style 2019-06-22 00:18:31 +02:00
Pavol Rusnak
e432c37df0
core/sdcard: read/write now don't return bool, but rather throw an Exception instead 2019-06-21 22:51:53 +02:00
Pavol Rusnak
4938fb5461
core/tests: rename trezor.io.sdcard test, don't use assert in tests directly 2019-06-20 17:22:44 +02:00
Pavol Rusnak
c8bc21a393
core: bump SD card capacity to 64MB in emulator 2019-06-20 11:52:50 +02:00
Pavol Rusnak
2d8e11e827
core/tests: expand slip39 test_error_location 2019-06-18 23:50:03 +02:00
Andrew Kozlik
84d3723ee9 slip39: Add RS1024 error locator function. 2019-06-18 18:34:29 +02:00
Cabecinha84
8a94aef1b0 common/defs: add ZelCash (#251) 2019-06-18 12:01:49 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
Szymon Lesisz
cfc0a7ecd1 common/defs: update support.json (#249) 2019-06-14 15:10:10 +02:00
Tomas Susanka
906013a6d7 ui/mnemonic: small refactor in input's edit 2019-06-13 21:18:23 +02:00
Tomas Susanka
40d55dfe8b ui: remove dead code in mnemonic.py 2019-06-13 17:58:15 +02:00
Jan Pochyla
5bc6bc4635 core: fix request_passphrase notification screen 2019-06-12 16:08:59 +02:00
Jan Pochyla
416226648c core: rotate touch coordinates by default 2019-06-12 15:30:05 +02:00
Roman Zeyde
a4c0645622 core: return exception details in debug mode (#238) 2019-06-11 17:07:18 +02:00
Pavol Rusnak
ebc22e5ccb
ci/legacy: don't build bootloader/demo in bitcoinonly+debug targets 2019-06-11 17:01:13 +02:00
Pavol Rusnak
c1f5432904
Merge pull request #239 from trezor/andrewkozlik/hmac_drbg
Add HMAC DRBG and use it to generate random delays
2019-06-11 16:59:50 +02:00
Roman Zeyde
40bf2c5d2e core: ensure pubkeyhash/scripthash have the correct length (#220) 2019-06-11 14:34:58 +02:00
Andrew Kozlik
e6ee13e798 legacy/common: Temporarily use TRNG to generate random delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
6e884203c3 legacy: Add hmac_drbg to bootloader build. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
ad5d9168c8 legacy: Move wait_random() to common.c and use HMAC DRBG to generate delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
013929de0b crypto/hmac_drbg: Fix buffer overflow. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
c2bdd1cf32 core/common: Change delay_random() to wait_random(). 2019-06-11 11:41:40 +02:00
Andrew Kozlik
531c610a17 storage: Use wait_random() from common.h. Fix build for tests. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
d95756ccf3 crypto/hmac_drbg: Fix style. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
f677a0f0db core: Use PRNG when generating random delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
1d9e125fd4 crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
b915092a44 crypto/hmac_drbg: Add nonce parameter to hmac_drbg_init(). 2019-06-11 11:41:40 +02:00
Andrew Kozlik
7c44340c40 crypto: Add HMAC deterministic random bit generator and unit tests. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
0e277dfcb0 core/slip39: Fixed a bug when generating shares with group_threshold = 1. 2019-06-11 11:26:29 +02:00
Pavol Rusnak
0b96b48a8c
core/tools: rename toif_convert to toif_convert.py 2019-06-09 19:17:53 +02:00
Pavol Rusnak
b89134bf3f
core/tools: fix style in toif_convert 2019-06-09 19:04:10 +02:00