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
Tomas Susanka
3854fa38cc
ci: test storage
2019-04-25 16:50:56 +02:00
Tomas Susanka
18482a9c37
storage: style
2019-04-25 16:50:56 +02:00
Tomas Susanka
99329fb30d
storage: add tests
...
from https://github.com/trezor/trezor-storage-test
2019-04-25 16:50:56 +02:00
Tomas Susanka
662537095e
storage: add tests dependencies to Pipfile
2019-04-25 16:50:56 +02:00
Pavol Rusnak
81b6010b0f
legacy: remove unnecessary shell.nix
2019-04-25 16:50:09 +02:00
Tomas Susanka
8f0f6e4aed
ci: do not define dependencies; skip them if artifacts are not needed
...
Artifacts are passed on by default, so we do not have to define
them in 'dependencies' when we need them. On the contrary, we define them in
case we do not need them.
2019-04-25 16:02:07 +02:00
Pavol Rusnak
0b9f4654bd
docker: use $PYTHON variable
2019-04-25 15:21:42 +02:00