1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-28 17:18:29 +00:00
Commit Graph

8989 Commits

Author SHA1 Message Date
Pavol Rusnak
76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
initialization of structs with = {0};
2019-10-11 09:59:32 +02:00
Pavol Rusnak
5cfa386e44
legacy: workaround nanopb build failure with -Werror 2019-10-10 23:39:10 +02:00
Pavol Rusnak
145b098f0e
legacy: fix types for characted data 2019-10-10 17:43:55 +00:00
Pavol Rusnak
b07b9b1d09
legacy/vendor: use pre-relase of nanopb 0.3.9.4
drop our patch, use upstream PB_ENCODE_ARRAYS_UNPACKED option
2019-10-10 16:08:28 +00:00
Pavol Rusnak
1bdc83838b
legacy+core: properly handle non-printable ascii characters
(convert them to '_')
2019-10-10 15:58:26 +00:00
Pavol Rusnak
ab534c18d3
Merge pull request #612 from trezor/andrewkozlik/sd-protect-ui
SD-protect error handling
2019-10-10 15:48:27 +02:00
Andrew Kozlik
7b0860a3cc
Merge pull request #606 from trezor/andrewkozlik/fido2-device-test
debug: Add left and right swipe direction to DebugLinkDecision message and unify terminology around swipe direction.
2019-10-10 15:24:12 +02:00
Andrew Kozlik
564b24191e debug: Add left and right swipe direction to DebugLinkDecision message and unify terminology around swipe direction. 2019-10-10 14:56:49 +02:00
matejcik
47a21ceebc tests: update Stellar XDR Builder instructions 2019-10-10 14:38:38 +02:00
Andrew Kozlik
9a641b6b01 core/sd-protect: Allow user to retry if write fails. 2019-10-10 12:17:36 +02:00
Andrew Kozlik
795fa07822 core/sd-protect: Add SD_CARD_HOT_SWAPPABLE option and improve error handling. 2019-10-10 12:17:36 +02:00
Andrew Kozlik
710866074b core/webauthn: Fix mypy warnings. 2019-10-09 18:13:48 +02:00
Andrew Kozlik
17fa41620e
legacy: refactor readprotobufint() 2019-10-09 15:48:52 +00:00
Tomas Susanka
efb3eef0c4 tests/stellar: add hex to stellar operations signatures 2019-10-09 15:25:41 +00:00
Pavol Rusnak
3222ffb554
Merge branch 'onvej-sl/explicit-initialization' 2019-10-09 17:23:21 +02:00
Ondřej Vejpustek
97ba9f17d9
storage: explicitly initialize variables 2019-10-09 17:07:42 +02:00
Andrew Kozlik
c25a41aa57 core: Fix mypy warnings in FatFS and SD salt code. 2019-10-09 17:07:25 +02:00
Ondřej Vejpustek
11aa654abc
crypto: explicitly initialize variable length arrays 2019-10-09 17:05:34 +02:00
Ondřej Vejpustek
fdad317d8c
crypto: explicitly initialize variables 2019-10-09 17:05:33 +02:00
Ondřej Vejpustek
fa9d349bc9
legacy: explicitly initialize variable length arrays 2019-10-09 17:05:33 +02:00
Ondřej Vejpustek
08265cdd08
legacy: explicitly initialize variables 2019-10-09 17:05:33 +02:00
Andrew Kozlik
5401f88d52 core/webauthn: Fix user input timeout bug. 2019-10-09 15:18:25 +02:00
Tomas Susanka
a2fed79f7e
Merge pull request #603 from trezor/tsusanka/groups-info
Small refactor in Info dialog
2019-10-09 10:15:34 +02:00
Pavol Rusnak
9ede5657f2
pipfile: update dependencies 2019-10-08 19:28:10 +00:00
JonSalazar
d33010d6d3 common/defs: add XSN to wallets.json 2019-10-08 21:18:35 +02:00
Andrew Kozlik
e385eae433 core/webauthn: Use popups for webauthn error messages instead of confirmation dialogs to simplify device testing. 2019-10-08 13:29:15 +02:00
Andrew Kozlik
8ce8916beb core/webauthn: Remove AUTOCONFIRM option. 2019-10-08 13:29:04 +02:00
Pavol Rusnak
e64cb49915
micropython: backport patch for "sane initial dynamic qstr pool size with frozen mods" 2019-10-07 15:12:39 +02:00
Sotiris Blad
fdd8f5ff09 common/defs: add MUE wallet (#604) 2019-10-07 14:40:45 +02:00
Sirak Ghazaryan
8317774e06 common/defs: enable CRW (#600) 2019-10-07 14:39:37 +02:00
Tomas Susanka
29bb2dcb95
Add unit test for process_slip39 function (#601)
Add unit test for process_slip39 function
2019-10-04 21:57:37 +02:00
Saleem Rashid
1ca521eec9
legacy/nem: Refactor nem_canonicalizeMosaics
GCC is able to reason about transfer->mosaics_count using Value Range
Propagation. Using transfer->mosaics_count, instead of a mosaics_count
argument, satisfies GCC that the variable-length skip array cannot be
too large.

Renamed variables to old_count and new_count to reduce ambiguity.
2019-10-04 15:17:46 +00:00
Andrew Kozlik
9ccde8d853
Merge pull request #602 from trezor/andrewkozlik/change-pin-only-when-initialized
core, legacy: Don't allow change_pin if device is not initialized.
2019-10-04 16:02:03 +02:00
Tomas Susanka
1068acae40 core/tests: assert secret in process_slip39 test 2019-10-04 13:47:52 +00:00
Tomas Susanka
74a283c271 core/recovery: small refactor in Info dialog 2019-10-04 15:21:39 +02:00
matejcik
262a731d4a Merge branch 'master' of github.com:trezor/trezor-firmware 2019-10-04 14:06:27 +02:00
Andrew Kozlik
ba9eee3b8f core, legacy: Don't allow change_pin if device is not initialized. 2019-10-04 13:54:43 +02:00
Tomas Susanka
737ebeec1c ci: add 'retry' to flaky tests (Monero and U2F) 2019-10-04 09:37:49 +02:00
Tomas Susanka
75dfcacc21 core/tests: add unit test for process_slip39 function
updates #542
2019-10-03 16:54:35 +02:00
matejcik
861e999425 core: draft unit test for process_slip39 2019-10-03 16:01:01 +02:00
Tomas Susanka
f09bc4dd77 tools/issues: fix weights and add auth 2019-10-03 12:01:27 +00:00
matejcik
ff44248346 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "5d98111e5"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "5d98111e5"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-10-03 13:34:21 +02:00
Tomas Susanka
07b4f6e399 core/recovery: remove unused get/set_slip39_threshold 2019-10-03 09:57:35 +00:00
Tomas Susanka
6ef0b8c4f2 ci: add missing '/' to DEPLOY_BASE_DIR variable 2019-10-03 11:44:26 +02:00
Tomas Susanka
1c676d7394 build: make gen 2019-10-02 20:53:30 +02:00
baff5b
c17ab67dda common/defs: add XRC to Connect (#595) 2019-10-02 20:09:10 +02:00
Pavol Rusnak
adbec13779
core/sd_salt: fix bug introduced in ede1a0bae3 2019-10-02 16:46:42 +00:00
Pavol Rusnak
04466402ce
core/monero: use const where possible 2019-10-02 15:45:36 +00:00
Pavol Rusnak
ed0336c0a9
core/monero: add gc.collect before large allocations in bulletproof code 2019-10-02 15:45:33 +00:00
Pavol Rusnak
5f980b50a0
core/monero: refactor bulletproof look-up-tables 2019-10-02 15:43:03 +00:00