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

8365 Commits

Author SHA1 Message Date
Andrew Kozlik
a63ff8f9b4 core/webauthn: Add bogus app ID used by Firefox to indicate error in U2F. Figure out which error to display based on past U2F_AUTHENTICATE check-only requests on the same channel. 2019-12-03 14:48:59 +01:00
Andrew Kozlik
a704bfe184 core/webauthn: Allow only one CTAPHID_WINK command at a time on any given channel ID to fix continuous display blinking with Android. 2019-12-03 14:18:43 +01:00
Andrew Kozlik
3a4e9bd25c core/ui: Ignore any new alert requests if an alert is already in progress in order to avoid multiple alerts overlapping. 2019-12-03 14:18:43 +01:00
Pavol Rusnak
584dae7832 github: update issue templates 2019-12-03 04:01:02 +01:00
Pavol Rusnak
e549d2277f github: create issue templates 2019-12-03 03:58:37 +01:00
Pavol Rusnak
d63f613238
ci/docker: use gcc-arm-embedded 9 2019-12-01 19:30:10 +01:00
Andrew Kozlik
7c39e2f142 core/webauthn: Specify the exception raised by res.load(). 2019-11-26 15:44:05 +01:00
Andrew Kozlik
790178a442 fixup! core/webauthn: Allow new workflow to be set after a command response is sent, so that in device tests the next test doesn't fail with ERR_CHANNEL_BUSY while the previous workflow is closing. 2019-11-26 15:18:14 +01:00
Andrew Kozlik
c463069895 core/webauthn: Don't log an exception when a relying party is not listed in knownapps. 2019-11-26 15:18:14 +01:00
Andrew Kozlik
5bdd523b91 vendor: Update fido2-tests submodule to fix issues with random ordering. 2019-11-26 15:18:14 +01:00
Andrew Kozlik
203853faed core/webauthn: Allow new workflow to be set after a command response is sent, so that in device tests the next test doesn't fail with ERR_CHANNEL_BUSY while the previous workflow is closing. 2019-11-26 15:18:14 +01:00
Shinoa-Fores
5e7dd41613 Update wallets.json (#725)
Fixed to point to proper uno-electrum repo
2019-11-25 04:58:51 +01:00
Tomas Susanka
11f8da2f2d core: remove .sconsign.dblite on make clean 2019-11-21 14:01:15 +00:00
Andrew Kozlik
2ae1d9a935 webauthn: Disable signature counter in FIDO2 for dropbox.com, gandi.net, secure.login.gov. 2019-11-21 13:59:45 +01:00
matejcik
4fa23342ac pipenv: update packages, add missing dependencies 2019-11-20 16:13:22 +01:00
matejcik
1f6cc77dec upgrade black to 19.10b0 2019-11-20 16:02:47 +01:00
matejcik
e25a7ebb7f core: add changelog for RecoveryDevice fix 2019-11-20 12:27:57 +01:00
matejcik
34913a328a all: disallow most RecoveryDevice fields in dry-run (fixes #666) 2019-11-20 12:27:57 +01:00
matejcik
b6d46e93e1 python: auto-generate OPTIONS.rst 2019-11-18 11:50:07 +01:00
matejcik
65bb8cdf4e python/trezorctl: only accept json for sign-tx, document the format 2019-11-18 11:50:07 +01:00
matejcik
8f2b22a8f5 python: add more protobuf tests 2019-11-18 11:50:07 +01:00
matejcik
bd9bf4e2bc python: rename webauthn and u2f to fido 2019-11-18 11:50:07 +01:00
matejcik
8e4de5e929 python/trezorctl: split trezorctl into separate modules
Instead of all commands (like `load-device`, `change-pin`,
`tezos-sign-tx`, `ethereum-verify-message`...) living in trezorctl.py,
each functional group is now defined in a separate file.

With that, better structuring of the trezorctl command becomes
available:
- instead of `trezorctl set-label`, use `trezorctl set label`
- instead of `trezorctl change-pin`, use `trezorctl set pin`
- instead of `trezorctl enable-passphrase`, use `trezorctl set
passphrase enabled`

For common commands, such as `sign-tx`, it is possible to use the
currency name or shortcut:

- `trezorctl btc sign-tx`
- `trezorctl ethereum sign-tx`
- `trezorctl xtz sign-tx`
- `trezorctl doge sign-tx`
etc.

Some aliases have been retained for better compatibility. For others,
refer to `trezorctl --help` and `trezorctl <command> --help`.
2019-11-18 11:50:07 +01:00
Pavol Rusnak
d029920540
core/webauthn: update metadata 2019-11-16 10:53:10 +00:00
matejcik
40a2c2ce93 tests: improve clicktests 2019-11-15 15:54:16 +01:00
Tomas Susanka
9e33d69607 tools/issues: style 2019-11-14 15:57:47 +00:00
Tomas Susanka
56e84aa0e6 tools/issues: add personal access token support for private repos 2019-11-14 15:57:17 +00:00
Tomas Susanka
e38d6ca401 tools/issues: add assignee 2019-11-14 15:09:52 +00:00
Pavol Rusnak
33ecdeb193
core+legacy: remove confusing changelog entries 2019-11-13 19:47:35 +01:00
Pavol Rusnak
e1e081fb7a
core/webauthn: fix metadata 2019-11-13 17:16:23 +01:00
matejcik
9787e38206 legacy: properly omit LoadDevice in non-debug build 2019-11-13 16:48:35 +01:00
matejcik
862e582ec1 tests: make {needs,no}_backup flags available in test suite 2019-11-13 16:48:35 +01:00
matejcik
d9c581b95b python: run flake8 as part of make style 2019-11-13 16:48:35 +01:00
matejcik
09962708d3 core: move load_device to the debug app 2019-11-13 16:48:35 +01:00
matejcik
fd8aed6105 all: drop XPRV feature of LoadDevice 2019-11-13 16:48:35 +01:00
Pavol Rusnak
16af7f1353 common: add {needs,no}_backup flags to LoadDevice, make it debug only 2019-11-13 16:48:35 +01:00
Pavol Rusnak
0a0cd797e3
ci/tests: use new Monero tests binary 2019-11-13 16:29:06 +01:00
Pavol Rusnak
cde944b565
Merge branch 'reorder-usb' 2019-11-13 16:23:07 +01:00
Pavol Rusnak
908c0fb8c0
core/docs: add info about enabling VCP for non-Bitcoin-only FW 2019-11-13 16:22:42 +01:00
Tomas Susanka
20a30ae521 tests/monero: print hash of the monero binary 2019-11-13 14:44:40 +00:00
Tomas Susanka
85d7215bf3
Merge pull request #700 from trezor/tsusanka/upgrade-u2f-check
Get next u2f counter and add tests for it
2019-11-13 15:19:22 +01:00
Tomas Susanka
90edad55fc python and tests: typos 2019-11-13 13:28:07 +00:00
Pavol Rusnak
2652936c16
core/tests: adapt device_emu_fido2/u2f to reordered usb endpoints 2019-11-13 13:21:39 +01:00
Pavol Rusnak
df273bf836
core/usb: reorder endpoints 2019-11-13 13:21:39 +01:00
Pavol Rusnak
3b5a113304
core/usb: small reformat 2019-11-13 11:33:58 +00:00
Tomas Susanka
b12ed82586 tests/device: add test for u2f counter set/get 2019-11-13 11:33:12 +00:00
Tomas Susanka
499eb8e628 legacy: get next u2f counter 2019-11-13 11:33:12 +00:00
Tomas Susanka
23c4b97e48 tests/upgrade: test u2f counter 2019-11-13 11:33:11 +00:00
Tomas Susanka
ef9900ee52 python: get u2f counter 2019-11-13 10:55:52 +00:00
Tomas Susanka
a8b82975a1 core/management: get next u2f counter 2019-11-13 10:55:52 +00:00