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

9060 Commits

Author SHA1 Message Date
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
Tomas Susanka
1e27a27cd3 tests: update README 2019-10-25 12:22:20 +00:00
Tomas Susanka
9251f73d89 tests: move persistence tests to its own folder 2019-10-25 12:04:14 +00:00
Tomas Susanka
c1f7239c2d ci: add click and persistence tests 2019-10-25 12:04:14 +00:00
Pavol Rusnak
9ab1554e93
legacy: use cryptoMultisigPubkeyCount where possible 2019-10-24 15:47:38 +02:00
Pavol Rusnak
c145db7dd2
legacy: fix not showing MultisigRedeemScriptType.nodes count correctly in GetAddress 2019-10-24 13:30:40 +00:00
matejcik
93062c4cc2 docs: improve docs, add random.md 2019-10-24 13:36:54 +02:00
Pavol Rusnak
0f1e30b235
core: fix typo in get_address 2019-10-24 11:42:40 +02:00
Pavol Rusnak
ddea567ecc
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "23ee4ad59"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "23ee4ad59"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-24 09:16:55 +00:00
Pavol Rusnak
c617035a3e
core: bump version to 2.1.9 2019-10-24 09:16:24 +00:00
Pavol Rusnak
e67a359279
core: update changelog 2019-10-24 09:15:17 +00:00
Pavol Rusnak
5fe2f7e59c common/protob: remove ButtonRequest.data field 2019-10-24 11:11:43 +02:00
Pavol Rusnak
9a3d8ef2c4
core: show xpubs in GetAddress for multisig
also fix not showing MultisigRedeemScriptType.nodes correctly
2019-10-24 09:11:01 +00:00
Tomas Susanka
c3d13f41a4 tests/click: fix test_recovery 2019-10-24 07:51:03 +00:00
Pavol Rusnak
322417d9ed
core/tezos: refactor bytes constants 2019-10-23 16:29:21 +00:00
Adrian Nagy
384275ac73
core/tezos: support the new protocol update (005-BABYLON) 2019-10-23 17:53:10 +02:00
matejcik
09c3fd1981
DebugLink click tests (#632) 2019-10-23 11:03:52 +02:00
matejcik
a5ccf95260 core: fix mypy problems 2019-10-22 17:06:49 +02:00
matejcik
9b827baca0 tests: improve Shamir persistence test 2019-10-22 17:06:49 +02:00
matejcik
5488270bc3 core: improve emulator wrapper
* supply a gzipped image of an empty SD card so that we don't spend 5s at
  every run by formatting it
* add start, stop, restart methods for direct control
* add restart capability to device_handler (a little awkward for now)
2019-10-22 17:06:49 +02:00
matejcik
8d2ae142f3 core/debug: at start, wait for first layout to show up 2019-10-22 17:06:49 +02:00
matejcik
f22f4d920e tests: ensure Shamir persistence test runs only for core 2019-10-22 17:06:49 +02:00
matejcik
bc1696b947 tests: add scaffold for Shamir persistence testing 2019-10-22 17:06:49 +02:00
matejcik
7591e98897 tests: rename background.py to device_handler.py 2019-10-22 17:06:49 +02:00
matejcik
c9f4341949 tests: make background handler killable 2019-10-22 17:06:49 +02:00
matejcik
32074c7bff python/udp: make socket timeout configurable 2019-10-22 17:06:49 +02:00
matejcik
c970ad437d tests: improve layout_lines API 2019-10-22 17:06:49 +02:00