-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pregenerate keyshares sets for all possible initial signer comittees (#…
…1073) * Pregenerate keyshares for all combinations of non-signers * Dont add keyshare for the non-signer * Tidy how validator names are represented in create-test-keyshares * Tidy create test keyshares fn * Rm comment * Ignore absense of non-signer * Add publish=false to create-test-keyshares crate * Readme * Readme * Update crates/threshold-signature-server/src/helpers/tests.rs Co-authored-by: Hernando Castano <[email protected]> * Minor improvement to create test keyshare crate --------- Co-authored-by: Hernando Castano <[email protected]>
- Loading branch information
Showing
57 changed files
with
112 additions
and
65 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
See [`create-test-keyshares`](../../../scripts/create-test-keyshares) for an explanation of how | ||
these are generated and what the different keyshare sets represent. |
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/alice/keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/alice/keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/alice/keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/bob/keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/bob/keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/bob/keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/charlie/keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/charlie/keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/charlie/keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.39 KB
crates/testing-utils/keyshares/production/dave-keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file removed
BIN
-3.39 KB
crates/testing-utils/keyshares/production/dave-keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file removed
BIN
-3.39 KB
crates/testing-utils/keyshares/production/dave-keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/dave/keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/dave/keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file added
BIN
+3.39 KB
crates/testing-utils/keyshares/production/dave/keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.39 KB
crates/testing-utils/keyshares/production/eve-keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file removed
BIN
-3.39 KB
crates/testing-utils/keyshares/production/eve-keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file removed
BIN
-3.39 KB
crates/testing-utils/keyshares/production/eve-keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/alice/keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/alice/keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/alice/keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/bob/keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/bob/keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/bob/keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/charlie/keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/charlie/keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/charlie/keyshare-held-by-dave.keyshare
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.14 KB
crates/testing-utils/keyshares/test/dave-keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file removed
BIN
-2.14 KB
crates/testing-utils/keyshares/test/dave-keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file removed
BIN
-2.14 KB
crates/testing-utils/keyshares/test/dave-keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/dave/keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/dave/keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file added
BIN
+2.14 KB
crates/testing-utils/keyshares/test/dave/keyshare-held-by-charlie.keyshare
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.14 KB
crates/testing-utils/keyshares/test/eve-keyshare-held-by-alice.keyshare
Binary file not shown.
Binary file removed
BIN
-2.14 KB
crates/testing-utils/keyshares/test/eve-keyshare-held-by-bob.keyshare
Binary file not shown.
Binary file removed
BIN
-2.14 KB
crates/testing-utils/keyshares/test/eve-keyshare-held-by-charlie.keyshare
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `entropy-create-test-keyshares` | ||
|
||
This is used to create sets of pre-generated keyshares. These are used in some of the `entropy-tss` | ||
tests to speed up the test by not needing to run a distributed key generation during the test. | ||
|
||
Since keyshares are linked to the identities of the holders, and the initial signer set is selected | ||
randomly during the test, there is one keyshare set generated per possible combination of initial | ||
signers. | ||
|
||
Since we have 4 nodes, and 3 signers, we refer to each set by the name of the node who is **not** in | ||
the signer set (which is the one who will act as the relayer node). | ||
|
||
So set 'alice' consists of ['bob', 'charlie', 'dave'] and set 'bob' consists of ['alice', 'charlie', | ||
dave'], etc. | ||
|
||
There are also different keyshare sets for 'test' or 'production' parameters used by Synedrion. Test | ||
parameters are less secure but mean that the protocols run much faster. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters