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

8303 Commits

Author SHA1 Message Date
matejcik
c9fca25531 core: add storage module to frozen build 2019-11-11 15:52:46 +01:00
matejcik
75622d92d2 Merge branch 'master' into matejcik/storage-relocation 2019-11-11 14:39:00 +01:00
matejcik
dee47a06f2 core/sd_salt: ensure ProcessErrors are propagated properly 2019-11-11 14:37:20 +01:00
EDmitry
e286bd46f9 Field "sender" is renamed to "from" in eosio ABI for un/delegatebw 2019-11-11 11:56:25 +01:00
Tomas Susanka
597277725e core/recovery: end progress before showing success
This fixes #695. This was the default behaviour but we have changed it
because of Wallet, which was doing the polling. Since Wallet can now
send RecoveryDevice again and acquire Context this is no more needed.
2019-11-11 10:39:07 +00:00
Pavol Rusnak
07cdebeb9b
ci/legacy: don't build bootloader twice
(script/cibuild already does it)
2019-11-10 14:38:49 +01:00
Tomas Susanka
f4385ede2a core/changelog: add note on Recovery rework 2019-11-10 13:07:23 +01:00
Pavol Rusnak
7476e9463f
legacy/bootloader: don't include FONT_FIXED 2019-11-09 19:13:55 +00:00
Pavol Rusnak
054bb3a67a
legacy/bootloader: refactor show_halt usage 2019-11-09 19:13:52 +00:00
Pavol Rusnak
86b7813629
legacy/bootloader: refactor show_unplug 2019-11-09 19:13:52 +00:00
Pavol Rusnak
f86ac65ad1
legacy/bootloader: refactor flash_enter/flash_exit 2019-11-09 19:13:51 +00:00
Pavol Rusnak
92c64122a1
legacy/bootloader: move VERSION_*_CHAR to version.h 2019-11-09 19:02:51 +00:00
Pavol Rusnak
ee98d0b398
legacy/layout: use bmp_btn_confirm, bmp_btn_cancel 2019-11-09 19:02:51 +00:00
Pavol Rusnak
81085ed388
legacy/oled: remove non-ASCII symbols from font definitions 2019-11-09 19:02:48 +00:00
Pavol Rusnak
4462fb522c
core/nem: don't use mp_obj_new_str_of_type 2019-11-09 12:06:12 +00:00
Pavol Rusnak
d5129b916d
tests/fido_tests: add simple device tests using libfido2 2019-11-09 10:26:03 +00:00
matejcik
8225e5d8b2 core/sd_salt: remove forgotten fs.mount 2019-11-08 14:23:58 +01:00
matejcik
18ab677124 core/webauthn: rename storage.webauthn to storage.resident_credentials 2019-11-08 12:47:54 +01:00
matejcik
f03562cca0 core/sd_salt: decorate sd_salt functions to ensure proper finalization and power-off 2019-11-08 12:42:30 +01:00
matejcik
33bd4d3ba9 Merge branch 'master' into matejcik/storage-relocation 2019-11-07 12:51:02 +01:00
matejcik
51a5d8e30a core/boot: do not pass useless argument to request_sd_salt 2019-11-07 11:31:29 +01:00
matejcik
7de5cec4b0 core: halt if the script ever runs out of the loop in main.py 2019-11-07 11:27:45 +01:00
matejcik
3349f737df python/debuglink: prevent race with recovery homescreen eating debuglink decisions 2019-11-07 11:27:45 +01:00
matejcik
5ffa395dec core: catch more exceptions for the purpose of halting 2019-11-07 11:27:45 +01:00
matejcik
7cb125d1cb core/recovery: properly replace homescreens 2019-11-07 11:27:45 +01:00
matejcik
1c59ba9423 core/workflow: improve comments and logic 2019-11-07 11:27:45 +01:00
matejcik
a3930d4bdb core: rename close_default to a more appropriate kill_default 2019-11-07 11:27:45 +01:00
Tomas Susanka
ca484b2c06 core: remove persistence boot and set recovery as a default workflow 2019-11-07 11:27:45 +01:00
matejcik
e9fe6c2943 core/boot: remove leftover print 2019-11-06 13:57:00 +01:00
matejcik
28d30ffd2f core/webauthn: unify signatures of Credential.from_bytes and friends 2019-11-06 13:56:52 +01:00
Tomas Susanka
7dba12cb6d core/log: print received message's name 2019-11-06 11:20:46 +01:00
Pavol Rusnak
8928e891c6
core/Changelog: add entry 2019-11-05 15:57:43 +01:00
Tomas Susanka
2aab4e5955 tests/click: refactor reading lines to a function 2019-11-05 10:42:30 +00:00
Tomas Susanka
e30245b96b
Merge pull request #675 from trezor/ciny/shamir_click_tests
tests: click tests for basic and advanced slip39
2019-11-05 11:39:34 +01:00
ciny
905a405cb3 tests: click tests for basic and advanced slip39 2019-11-05 11:13:46 +01:00
Tomas Susanka
a799be335a ci: add core debug fw build 2019-11-05 10:23:11 +01:00
Pavol Rusnak
e1c072221e
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "e2a545110"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "e2a545110"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-11-03 11:12:38 +00:00
Pavol Rusnak
159b6d0308
common/defs: fix support.json 2019-11-03 11:12:25 +00:00
Pavol Rusnak
1523f09b37
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "47de95caa"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "47de95caa"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-11-03 10:44:54 +00:00
Pavol Rusnak
0040b916d2
common/defs: remove inactive coins 2019-11-03 10:44:22 +00:00
Andrew Kozlik
6cc44b133c tests/webauthn: Account for the increased limit on the number of resident credentials. 2019-11-01 16:14:16 +01:00
Tomas Susanka
c6d6d6c1d7 tests: skip speed tests on T2 2019-11-01 13:59:12 +00:00
Pavol Rusnak
2d8f70d49a
common/defs: add mojeid.cz definition to webauthn 2019-11-01 12:54:28 +00:00
Pavol Rusnak
d2ba070424
vendor: change fido2-tests to our fork 2019-11-01 12:35:12 +01:00
Tomas Susanka
c261427d73
Merge pull request #667 from malinah/malinah/confirmbtn
core/trezor/ui/loader: fixes #655 Button hold-to-confirm press detection.
2019-11-01 11:39:31 +01:00
apollo
18c926a34b common/defs: fix zcore signing (#669) 2019-11-01 00:18:03 +01:00
Milan Rossa
2143978b12 core/trezor/ui/loader: fixes #655 Button hold-to-confirm press detection. 2019-10-31 23:04:46 +01:00
matejcik
1397bbfeb5 core/tests: fix test suite after storage move 2019-10-31 16:34:16 +01:00
matejcik
5c93ecd53a core: create top-level storage module
This is to avoid including app-specific functionality in storage and
avoid circular imports. The following policy is now in effect: modules
from `storage` namespace must not import from `apps` namespace.

In most files, the change only involves changing import paths.

A minor refactor was needed in case of webauthn: basic get/set/delete
functionality was left in storage.webauthn, and more advanced logic on
top of it was moved to apps.webauthn.resident_credentials.

A significant refactor was needed for sd_salt, where application (and
UI) logic was tightly coupled with the IO code. This is now separated,
and storage.sd_salt deals exclusively with the IO side, while the app/UI
logic is implemented on top of it in apps.common.sd_salt and
apps.management.sd_protect.
2019-10-31 16:21:56 +01:00
Pavol Rusnak
39a532c8b1
core/webauthn: increase limit for resident credentials to 100 2019-10-31 14:27:46 +00:00