Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Update to use bnb-chain/tss-lib/v2 #15

Merged
merged 10 commits into from
Nov 21, 2023

Conversation

mirabelenkiy-circle
Copy link
Contributor

@mirabelenkiy-circle mirabelenkiy-circle commented Nov 21, 2023

Pulled in the latest changes from bnb-chain/tss-lib/v2.

  • Significant changes in bnb-chain
  • Updated ecdsa/cggplus, crypto/zkproofs and crypto/accmta modules to use v2
  • Removed one failing known-input unit test because the constants depended on v1 fixtures

yycen and others added 10 commits November 20, 2023 21:12
* ECDSA protocol security updates

* Update proofs.go

* Limit y in Mta in range and prove

* Add checks in proofFac

* Add checks in MtA

* Remove unnecessary assignments

* Update unbiased reject sample

* Make compatible for old parties with no facProof

* Revert "Make compatible for old parties with no facProof"

This reverts commit 4c9fa888180256f77380b4b49eebaa403dd783df.

* Revised compatible for old parties with no facProof

* Update facProof condition test

* Allow empty proofFac, roll back rejectSample for compatibility

---------

Co-authored-by: Wan Ziyi <[email protected]>
* Add modProof in ECDSA-keygen

* Reduce test param to reduce github workflow load

* Add test fixtures

* Fix EDDSA keygen example

* Restore test fixtures

* Compress modproof

* use warning instead of fatal in logger to prevent panic

* Add more checks in range proof

* Regenerate preparams for older version

* Reset test params and regenerate fixtures

* Update ecdsa-resharing with Paillier key proofs

* Add a switch to optional turn off Pai key proofs

* Update README for caution of preparams updated

* add: ecdsa proof session byte

---------

Co-authored-by: ycen <[email protected]>
Co-authored-by: ZhAnGeek <[email protected]>
* Update dependencies

* fix: compatibility of end channel output shift to pointer (#271)

Co-authored-by: ZhAnGeek <[email protected]>

* upgrade dependencies version

* Clean code

---------

Co-authored-by: ZhAnGeek <[email protected]>
Co-authored-by: ZhAnGeek <[email protected]>
Co-authored-by: asdfsx <[email protected]>
- zk proofs
- Accountable GG18 with zk proofs
- Accountable CGG21 with zk proofs

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Trevor Baker <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add copyright headers and LICENSE file. Removes some unnecessary files.
@mirabelenkiy-circle mirabelenkiy-circle merged commit d61dcdd into circlefin:master Nov 21, 2023
1 check passed
@mirabelenkiy-circle mirabelenkiy-circle deleted the updatev2 branch November 21, 2023 14:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants