Commit Graph

15 Commits

Author SHA1 Message Date
Gustavo Frederico
b5cffd276b make fmt - no functional change 2021-03-01 14:04:21 +08:00
Gustavo Frederico
9b0bb9c02e Signing optimizations - better concurrency logic for party 2021-03-01 14:04:21 +08:00
Gustavo Frederico
09bd254909 Adding identification of aborts per section 4.1 of the paper. A pair of ECDSA keys is created in round 1 for player authentication. It signs the Paillier public key first. It then signs the shares in round 2. In case the Feldman check fails in round 3, evidence is broadcasted. Round 4 is now split into normal logic and handling an abort. When handling the abort, an independent player (not the plaintiff, not the accused one) will re-verify the signature of the share and re-check the Feldman shares. The outcome of the abort identification may indeed blame the accused party if the Feldman check fails, or else it may blame the plaintiff for trying to frame the accused party. 2020-12-11 12:52:24 -05:00
Ford Betelgeuse
1f71034e2d reduce the test participants to save CI teting time 2020-11-18 15:21:23 +11:00
yutianwu
abd66f8884 [R4R] Add eddsa (#88)
* [R4R] Add eddsa keygen and signing (#3)

* add eddsa signing and keygen

* contruct extended element from x,y

* update dep

* fix test

* fix bug

* delete unused code

* add resharing

* fix comments

* refactor RejectionSampl;e

* rename variable (#4)

* delete printf

* update dependency

* resolve conflict
2020-03-06 11:34:06 +08:00
Luke Plaster
0729e950f1 ecdsa: update test fixtures for new keygen zk proofs 3 2020-03-05 12:05:16 +08:00
Luke Plaster
432236450d ecdsa: update test fixtures for new keygen zk proofs 2 2020-03-05 12:05:16 +08:00
Luke Plaster
7746ec316d ecdsa: update test fixtures for new keygen zk proofs 2020-03-05 12:05:16 +08:00
Luke Plaster
1e5e2dd5ed [security] resharing: wait for final acks from the new committee before ending (#75)
This is the fix for a vulnerability reported by Omer Shlomovits of KZen Networks (ZenGo).

It adds a final ack round to the re-sharing protocol where the new committee sends acks to members of both the old and new committees before they save any data to disk.

Other Changes:

* readme: mention the UpdateFromBytes bool arg changes, misc edits

* resharing: edit a comment in round 4

* remove the confusing to committee bools

* resharing: remove a redundant line in round 5
2019-11-12 15:24:18 +08:00
Luke Plaster
088218b826 tests: move t/n params to a shared home 2019-10-29 15:01:12 +08:00
Luke Plaster
c6f567443e protobuf: refactored message structure to include routing data in a wrapper message for mobile apps 2019-10-22 17:14:11 +08:00
Luke Plaster
b938bd5172 update the test fixtures with safer primes 2019-10-21 12:49:38 +08:00
Luke Plaster
7f5bb078c3 add changes for pre-keygen 2019-10-14 16:28:36 +08:00
Luke Plaster
31c67c55cf keygen: remove index from saved data (#27)
* keygen: remove index from saved data

* keygen: Index() -> OriginalIndex()
2019-08-15 17:16:25 +08:00
Luke Plaster
009c4ade03 tests: generate and use key fixtures (#26)
* tests: generate and use key fixtures

* keygen test: minor rename

* tests: fail immediately on async error

* tests: move keygen fixture load routine to func

* tests: clean-up misc
2019-08-15 11:29:04 +05:30