1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-12 10:58:59 +00:00
Commit Graph

158 Commits

Author SHA1 Message Date
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
2d8f70d49a
common/defs: add mojeid.cz definition to webauthn 2019-11-01 12:54:28 +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
Pavol Rusnak
5fe2f7e59c common/protob: remove ButtonRequest.data field 2019-10-24 11:11:43 +02:00
matejcik
34823b6fcb legacy: add field options to fix build 2019-10-22 17:06:49 +02:00
Andrew Kozlik
15d8f9def6 legacy/signing.c: Revert formatting of the workflow of streamed signing. 2019-10-11 11:20:02 +02:00
Pavol Rusnak
e688fa8775
vendor: update nanopb, remove build failure workaround
This reverts commit 5cfa386e44.
2019-10-11 10:01:04 +02:00
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
Andrew Kozlik
17fa41620e
legacy: refactor readprotobufint() 2019-10-09 15:48:52 +00: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
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
ba9eee3b8f core, legacy: Don't allow change_pin if device is not initialized. 2019-10-04 13:54:43 +02:00
matejcik
3c62db2696 stellar: fix ManageDataOp value padding 2019-10-01 15:12:37 +02:00
matejcik
d48c5c6450 legacy/stellar: fix timebounds display (#582) 2019-09-30 15:52:40 +02:00
Andrew Kozlik
9ea8136545 u2f: Add keepersecurity.eu to knownapps. 2019-09-26 19:02:29 +02:00
Andrew Kozlik
e4c13b6357 u2f: Store hashes of U2F application parameters instead of pre-images. 2019-09-26 19:02:29 +02:00
Pavol Rusnak
6a9d986e20
legacy: correctly handle set/clear flags 2019-09-24 14:32:37 +00:00
Pavol Rusnak
78041d261b
crypto: refactor bip39 api 2019-09-23 17:56:36 +02:00
Pavol Rusnak
3c20b1b1cd legacy: Add SdProtect to SKIPPED_MESSAGES 2019-09-18 18:55:58 +02:00
Andrew Kozlik
4f01003637 storage: Add external salt parameter to unlock() and change_pin(). 2019-09-18 18:53:42 +02:00
Pavol Rusnak
101d2e5df6
legacy: fix reporting model in bootloader 2019-09-18 14:56:13 +02:00
Andrew Kozlik
091053507d common/messages: Add credential management message. 2019-09-17 18:32:31 +02:00
Tomas Susanka
75c539ec55
all: replace /bin/bash with /usr/bin/env bash 2019-09-12 17:35:55 +02:00
Pavol Rusnak
a635ba6bff
build: clean up build-docker scripts a little 2019-09-08 16:21:16 +02:00
Pavol Rusnak
42f030dbcd
legacy: refactor SKIPPED_MESSAGES in the Makefile 2019-09-05 17:11:22 +02:00
Pavol Rusnak
bfe01707b1
build: add BITCOIN_ONLY variable to docker build scripts 2019-09-04 12:16:55 +02:00
Pavol Rusnak
324cb651c6
core+legacy: update bootloader ChangeLogs 2019-08-30 16:15:04 +02:00
Pavol Rusnak
cc3f7b8d48
ci: include version+githash into artefact filenames 2019-08-29 00:01:59 +02:00
Pavol Rusnak
fc1f90875b
legacy: fix firmware build in CI with MEMORY_PROTECT=0 2019-08-28 16:12:19 +02:00
Pavol Rusnak
4cbbc3da64
legacy: fix style 2019-08-28 15:09:12 +02:00
Pavol Rusnak
1a71c7a3e8
common: rename Features.features to Features.capabilities 2019-08-28 15:02:30 +02:00
Pavol Rusnak
41428ab2df
legacy: make sca pixels for pin matrix grow from the inside 2019-08-28 14:49:59 +02:00
Pavol Rusnak
9cef06de2b
core+legacy: update ChangeLogs 2019-08-28 13:59:42 +02:00
Pavol Rusnak
1c3b5009d0
legacy: bump version to 1.8.4 2019-08-27 16:59:44 +02:00
Pavol Rusnak
1ea4f9de56
legacy: remove remaning Decred/Zcash code for Bitcoin only firmware 2019-08-27 12:38:28 +02:00
Pavol Rusnak
980e037d00
legacy: modify nanopb so it doesn't pack repeated fields
We can remove this once protobuf.js has been updated to 6.x.x
where this is fixed.
2019-08-27 11:18:03 +02:00
Tomas Susanka
077735f57b ci: introduce upgrade tests
closes #126
2019-08-26 16:02:06 +02:00
Pavol Rusnak
ca494940a5
legacy: fill in Features.features 2019-08-23 13:52:13 +02:00
Pavol Rusnak
876ba5f590
tests: make path to tested binary configurable 2019-08-22 17:47:36 +02:00
Pavol Rusnak
9d8ebfcdbc
legacy: remove Features.features field for now, will get reintroduced later 2019-08-21 15:28:02 +02:00
Pavol Rusnak
f40d926d16
legacy: fix emulator bitcoin only build 2019-08-21 10:25:56 +02:00
Pavol Rusnak
a25c9fd307
legacy: fill in Features.features with enabled features 2019-08-20 16:13:33 +02:00
Pavol Rusnak
cc184a0a30
common: introduce Features.features enum 2019-08-20 14:38:31 +02:00
Pavol Rusnak
c6b9fa4873
legacy: support Signify Ed25519 signatures + add device test 2019-08-19 18:11:08 +02:00
matejcik
eaf1e940a8 build: update test runners for new paths 2019-08-12 12:57:25 +02:00
Pavol Rusnak
e23bb10ec4
core+legacy: fix KMD signing (introduce negative_fee coin field) 2019-08-09 16:47:24 +02:00
Pavol Rusnak
6d861a5d05
legacy: fix style 2019-08-07 16:58:31 +02:00
Pavol Rusnak
eaa85ddd6e
core+legacy: add new changelog entries 2019-08-07 15:42:33 +02:00
Pavol Rusnak
67896be867
legacy: bump version to 1.8.2
(cherry picked from commit 7ab07e7aff)
2019-08-07 12:43:52 +02:00
Pavol Rusnak
ee95e58f4a
legacy: use fixed font for showing internal entropy
(cherry picked from commit 3b1f44945a)
2019-08-07 12:43:52 +02:00
Pavol Rusnak
93ef10d564
legacy: make fake/real words indistinguishable in simple recovery
(cherry picked from commit d9c02bb924)
2019-08-07 12:43:51 +02:00
Pavol Rusnak
8190bf3819
legacy: fix oledSCA in simple recovery
(cherry picked from commit ddd3e9c577)
2019-08-07 12:43:51 +02:00
Pavol Rusnak
0e224644b6
legacy: don't add more pixels than needed in oledSCA
(cherry picked from commit 6720690452)
2019-08-07 12:43:51 +02:00
Pavol Rusnak
9107731079
legacy: fix SCA when displaying the PIN matrix
(cherry picked from commit f237a26137)
2019-08-07 12:43:51 +02:00
Andrew Kozlik
1c9fa5d3c6
legacy: fix SCA when displaying the words
(cherry picked from commit f16c941ed4)
2019-08-07 12:43:51 +02:00
Pavol Rusnak
c288514a4f
core+legacy: fix display of non-divisible OMNI amounts 2019-07-26 12:59:10 +02:00
Tomas Susanka
accc33c8e6 legacy: replace load_device mnemonic to mnemonics 2019-07-24 17:04:54 +02:00
Andrew Kozlik
b9f63c3f55 webauthn: Add Binance to knownapps. Add Binance icon. 2019-07-12 11:38:44 +02:00
Jan Pochyla
f5299456a9 core/typing: add mypy 2019-07-09 12:51:48 +02:00
Pavol Rusnak
592ace6b8f
legacy/docs: add additional info required to flash custom firmware 2019-07-08 11:43:11 +02:00
Kewde
ec3c0453f0 legacy: remove last mentions of TREZOR_TRANSPORT_V1 (#312) 2019-07-08 11:39:46 +02:00
Pavol Rusnak
a978290d50
legacy: detect CALLBACK fields and fail build when found 2019-06-24 15:23:14 +02:00
Pavol Rusnak
848051efcf
legacy: don't process EthereumAddress.old_address via callback 2019-06-24 15:02:58 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
Andrew Kozlik
e6ee13e798 legacy/common: Temporarily use TRNG to generate random delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
6e884203c3 legacy: Add hmac_drbg to bootloader build. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
ad5d9168c8 legacy: Move wait_random() to common.c and use HMAC DRBG to generate delays. 2019-06-11 11:41:40 +02:00
Pavol Rusnak
f7053d96fe
all: remove extraneous whitespace 2019-05-26 22:20:14 +02:00
Pavol Rusnak
684862a7f5
common: more TRX cleanup 2019-05-25 12:48:04 +02:00
Pavol Rusnak
6dcf9635a9
legacy: wipe with debug link only in emulator 2019-05-17 17:00:45 +02:00
Alex Dupre
fc3a93dc47 legacy/firmware: fix ethereum message signing (#153)
If the length of the message was exactly a power of `10` the initial `1` was omitted.
2019-05-16 18:07:43 +02:00
Pavol Rusnak
f7d41cbbd7
core+legacy: drop NOUI and HEADLESS, SDL_VIDEODRIVER works fine 2019-05-16 17:06:14 +02:00
matejcik
43866407df move vendored submodules to root vendor/ dir
before pulling, run `git submodule deinit --all`
2019-05-13 13:51:53 +02:00
Hadi
9ceb479abd legacy: unlock flash before erasing (#146) 2019-05-11 14:20:58 +02:00
Pavol Rusnak
14b2cc336a
legacy: initialize decoded variable 2019-04-30 23:31:07 +02:00
Pavol Rusnak
0a8995bc86
legacy: update firmware changelog 2019-04-30 18:22:49 +02:00
Tomas Susanka
7c58d7d24e ci: split gitlab configuration files and store them in a 'ci' folder
The core/build-docker.sh si broken, but so it was already in master and
is tracked to be fixed in #108.
2019-04-28 09:31:41 +02:00
Pavol Rusnak
597b9fabd1
legacy: fix build parameters 2019-04-27 16:38:08 +02:00
Pavol Rusnak
236ca1ae83
legacy: enable Bitcoin only firmware 2019-04-27 16:16:33 +02:00
Pavol Rusnak
1532c96b0e
core+legacy: remove tag automagic from build scripts 2019-04-25 17:04:15 +02:00
Pavol Rusnak
81b6010b0f
legacy: remove unnecessary shell.nix 2019-04-25 16:50:09 +02:00
Pavol Rusnak
7a42acc08e
legacy: fix missing homedir glitch in fullbuild 2019-04-25 15:13:33 +02:00
Pavol Rusnak
5507688ce6
legacy: more build script fixing 2019-04-25 14:11:37 +02:00
Pavol Rusnak
9abe9d6698
legacy: fix docker build 2019-04-25 13:08:33 +02:00
Pavol Rusnak
659feca7e1
legacy: simplify pipenv install in script/fullbuild 2019-04-25 12:59:44 +02:00
Pavol Rusnak
aae1be4914
legacy: add symlinks to Pipfile and Pipfile.lock 2019-04-25 12:54:41 +02:00
Pavol Rusnak
62707a062a
core+legacy: reintroduce USB 2.1 landing page for firmware 2019-04-24 22:56:07 +02:00
Pavol Rusnak
5185371fb3
legacy: bump versions to 1.8.1 2019-04-23 21:28:47 +02:00
Pavol Rusnak
e06768a7a7
legacy: use local copy of the previously built bootloader 2019-04-23 21:26:18 +02:00
Pavol Rusnak
def96032d2
core+legacy: make path checks more benevolent (#84)
Non-existing BIP-48 is causing mess among implementations
2019-04-23 18:16:37 +02:00