1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 13:38:28 +00:00
Commit Graph

7710 Commits

Author SHA1 Message Date
Andrew Kozlik
28c85dee8e
Merge pull request #85 from trezor/andrewkozlik/slip0039
Implement SLIP-0039 primitives in MicroPython and C.
2019-05-06 13:34:27 +02:00
Pavol Rusnak
25cfd505f4
storage: allright isort, you win 2019-05-04 22:47:05 +02:00
Pavol Rusnak
0ae10a1924
legacy+storage: fix style checks 2019-05-04 22:42:40 +02:00
Pavol Rusnak
f27187e603
core: embed background images into the emulator binary 2019-05-04 22:33:48 +02:00
Pavol Rusnak
87f14965c4
core: finish frozen modules support 2019-05-04 22:15:20 +02:00
Pavol Rusnak
ce4a1f2e1d
core: remove unnecessary files 2019-05-03 21:37:01 +02:00
Pavol Rusnak
eb1192bc2c
core: simplify emu.sh runner 2019-05-03 21:28:24 +02:00
Andrew Kozlik
bebce78881 core/slip39: Update code logic, tests and test vectors in accordance with the new requirement that the number of shares provided is equal to the threshold. 2019-05-03 18:28:14 +02:00
Andrew Kozlik
ff594753e0 core/tests/slip39: Add tests for invalid threshold. 2019-05-03 16:09:40 +02:00
Andrew Kozlik
0248671438 core/slip39: Resolve code review comments. 2019-05-03 15:12:13 +02:00
Andrew Kozlik
025974a97d crypto/shamir: Memzero stack variables even in performace critical functions. 2019-05-03 14:18:54 +02:00
Andrew Kozlik
223868f552 crypto/shamir: Fix edge case when shamir_interpolate() is called with duplicate share indices which are equal to the result index. 2019-05-02 18:44:56 +02:00
Andrew Kozlik
0a99ad3f13 Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039 2019-05-02 15:08:43 +02:00
Andrew Kozlik
edab43234d core/slip39: Disallow creating multiple member shares with member threshold 1. Add tests for invalid parameters to generate_mnemonics(). 2019-05-02 15:00:04 +02:00
Andrew Kozlik
0c3dde6464 tests: Update SLIP-0039 test vectors. 2019-05-02 14:55:58 +02:00
Sotiris Blad
6a3d6b15a9 common/defs: add MUE blockbook (#127) 2019-05-01 16:38:57 +02:00
Pavol Rusnak
9f924576ba
ci/core: enable unix frozen build in the ci 2019-05-01 13:43:31 +02:00
Pavol Rusnak
6e6ff78ce0
core: re-enable frozen modules in the emulator build 2019-05-01 13:41:23 +02:00
ilmango
b865ee7656 common/defs: Add Bellcoin (#124) 2019-05-01 11:33:19 +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
Pavol Rusnak
4b8c418dbc
core: fix docker build 2019-04-30 18:03:24 +02:00
Sotiris Blad
4672993393 common/defs: update MUE vals (#120) 2019-04-30 12:34:17 +02:00
matejcik
0fc275a835 core: make templates after token handling change 2019-04-29 19:22:07 +02:00
matejcik
a6bd24dfc9 fix link in readme 2019-04-29 19:11:44 +02:00
matejcik
8ddeff7598 common/tools: do not auto-set duplicate for coin/token combination
Also update some auto-set dups to manually-set dups.
Leaving TRC token enabled because bitcoin:TRC is unsupported.
2019-04-29 19:08:11 +02:00
matejcik
4b407a9ac1 common/tools: fix code that only worked by accident 2019-04-29 18:49:41 +02:00
matejcik
6bd5345021 common/tools: allow tokens to collide with nontokens
if explicitly supported in support.json

This reverts commit 7cf22c5227.
2019-04-29 18:49:41 +02:00
Andrew Kozlik
479396b56f core/slip39: Remove math module dependency. 2019-04-29 12:23:10 +02:00
Andrew Kozlik
48a98efc58 crypto/shamir: Reorder #includes. 2019-04-29 12:04:31 +02:00
Andrew Kozlik
e631983d6d Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039 2019-04-29 11:29:54 +02:00
Tomas Susanka
fe3d67e259 ci: set GIT_SUBMODULE_STRATEGY to none where not submodules are not needed
I've decided to omit some places (e.g. build crypto) where it might be
confusing if some submodules dependency is introduced. Well, that
concerns tests stages as well, but I guess it is more likely for the
build stage.

Updates #108
2019-04-28 12:37:34 +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
32c5f58782
core: regenerate templates 2019-04-27 16:23:17 +02:00
Pavol Rusnak
236ca1ae83
legacy: enable Bitcoin only firmware 2019-04-27 16:16:33 +02:00
Pavol Rusnak
b76fb0905d
core: remove flamegraph 2019-04-26 22:52:00 +02:00
Pavol Rusnak
13195831d5
gitlab: build also legacy firmware with debug link 2019-04-26 18:41:01 +02:00
Pavol Rusnak
719d54d97d
core: regenerate templates 2019-04-26 18:06:36 +02:00
Pavol Rusnak
9f7228a763
gitlab: use prefix for prebuild targets 2019-04-26 18:06:10 +02:00
Pavol Rusnak
7cf22c5227
common/defs: fix naming collision 2019-04-26 17:55:49 +02:00
Tomas Susanka
ee6a06a51e ci: split crypto into build and test stages 2019-04-26 17:40:40 +02:00
Tomas Susanka
34fa641a9b ci: define dependencies in core tests
to skip artifacts that are not needed
2019-04-26 16:47:13 +02:00
Tomas Susanka
48abff67df ci: build legacy emulator and pass to tests
updates #108
2019-04-26 16:47:13 +02:00
Pavol Rusnak
ae1a721030
common/defs: update support for new coins 2019-04-26 16:24:44 +02:00
Tomas Susanka
442c8c15e0 ci: add prebuild stage 2019-04-26 15:46:01 +02:00
kuchtak
2b1f591cb7 common/defs: add BST (#110) 2019-04-26 15:40:52 +02:00
Tomas Susanka
9ed77afd12 core: build protobuf 2019-04-26 12:00:20 +02:00
Pavol Rusnak
1532c96b0e
core+legacy: remove tag automagic from build scripts 2019-04-25 17:04:15 +02:00
Tomas Susanka
6657134bd8 storage: alter README to reflect monorepo 2019-04-25 16:50:56 +02:00