1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
Commit Graph

8986 Commits

Author SHA1 Message Date
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
Tomas Susanka
7016391893 ci: add artifacts to legacy fw debug build 2019-10-31 12:51:50 +00:00
Pavol Rusnak
4979e17e86
core/webauthn: improve metadata 2019-10-30 17:53:09 +01:00
Tomas Susanka
1d1e9da1d3
Merge pull request #661 from trezor/tsusanka/webauthn-move-iface
core/webauthn: set webauthn interface in its app not in main.py
2019-10-30 15:37:33 +01:00
Tomas Susanka
26e2960532 core/webauthn: move boot to regular firmware block 2019-10-30 15:20:21 +01:00
Pavol Rusnak
58a865dd05
core/embed/unix: fix sdcard_init behaviour 2019-10-30 14:43:10 +01:00
Tomas Susanka
809b30ddcf core/webauthn: set webauthn interface in its app not in main.py
This way the other messages (WebAuthnListResidentCredentials etc.) get
registered in device debug build and can be tested.

Updates #591
2019-10-30 14:38:04 +01:00
Tomas Susanka
68a3094b0a
Merge pull request #657 from 1000101/udev-rules
common: fix whitespaces in udev rules
2019-10-30 10:47:48 +01:00
Jan Hrnko
0ee0ade761 fix whitespaces 2019-10-30 10:07:30 +01:00
Pavol Rusnak
727b7f8cd3
core/webauthn: add u2f/ctap2 metadata 2019-10-28 21:33:15 +01:00
Pavol Rusnak
29fca5ff91
pip: cleanup Pipfile, run pipenv lock, update vendor/fido2-tests 2019-10-28 16:37:55 +00:00
Tomas Susanka
64a218eea0 bitcoin: simplify if expression 2019-10-28 15:35:58 +00:00
Pavol Rusnak
8aeec95bae
ci: include full links to issues 2019-10-26 11:28:56 +02:00
Tomas Susanka
288d564c8b
Merge pull request #651 from trezor/tsusanka/upgrade-shamir-test
Add Shamir recovery test to upgrade tests
2019-10-25 16:45:01 +02:00
Tomas Susanka
04f0b74b29 tests: add upgrade test for recovery 2019-10-25 14:38:10 +00:00
Tomas Susanka
ab59b4731a tests/click: refactor recovery 2019-10-25 14:38:10 +00:00
Tomas Susanka
b799f3bb7e readme: add link to GitLab CI 2019-10-25 13:32:56 +00:00
Tomas Susanka
fb1721b94f
Reorder tests 2 (#650)
Reorder tests 2
2019-10-25 14:49:04 +02:00