Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Problem: rust-secp256k1 fork diverged from upstream (fixes #757) #1937

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

tomtau
Copy link
Contributor

@tomtau tomtau commented Jul 13, 2020

Solution:

NOTE: MuSig hasn't been ported up to the latest upstream changes yet,
so its related functionality is currently disabled
(when required, it can later be fixed and enabled
via "experimental" feature flag)

@tomtau
Copy link
Contributor Author

tomtau commented Jul 13, 2020

bors try

bors bot added a commit that referenced this pull request Jul 13, 2020
@bors
Copy link
Contributor

bors bot commented Jul 13, 2020

try

Build failed:

@tomtau tomtau force-pushed the upstream/secp256k1 branch 2 times, most recently from 27c360d to 0b4e8f1 Compare July 14, 2020 01:55
@cargo-dep-bot
Copy link

cargo-dep-bot bot commented Jul 14, 2020

This PR made the following dependency changes:

Added Packages (Duplicate versions in '()'):
	secp256k1 0.17.2
	secp256k1-sys 0.1.3

Removed Packages (Remaining versions in '()'):
	secp256k1zkp 0.13.0

@tomtau
Copy link
Contributor Author

tomtau commented Jul 14, 2020

bors try

bors bot added a commit that referenced this pull request Jul 14, 2020
@bors
Copy link
Contributor

bors bot commented Jul 14, 2020

try

Build failed:

@tomtau
Copy link
Contributor Author

tomtau commented Jul 14, 2020

bors try

bors bot added a commit that referenced this pull request Jul 14, 2020
@bors
Copy link
Contributor

bors bot commented Jul 14, 2020

try

Build failed:

@tomtau tomtau force-pushed the upstream/secp256k1 branch 2 times, most recently from de3d723 to 7e11f58 Compare July 14, 2020 04:37
@tomtau
Copy link
Contributor Author

tomtau commented Jul 14, 2020

bors retry

@tomtau
Copy link
Contributor Author

tomtau commented Jul 14, 2020

bors try

@bors
Copy link
Contributor

bors bot commented Jul 14, 2020

try

Already running a review

bors bot added a commit that referenced this pull request Jul 14, 2020
@bors
Copy link
Contributor

bors bot commented Jul 14, 2020

try

Build failed:

…#757)

Solution:
- created a branch off upstream rust-secp256k1
https://github.com/crypto-com/rust-secp256k1-zkp/tree/upstream-catchup
- use the vendor script to update the secp256k1 library from PR to upstream with changes to Schnorr signatures
(the vendor script applies custom patches to have mem allocation in Rust etc.)
- updated the code against the upstream changes
(one notable change is that signing uses "synthentic nonces"
-- https://moderncrypto.org/mail-archive/curves/2017/000925.html
-- so needs some fresh randomness)

NOTE: MuSig hasn't been ported up to the latest upstream changes yet,
so its related functionality is currently disabled
(when required, it can later be fixed and enabled
via "experimental" feature flag)
@tomtau
Copy link
Contributor Author

tomtau commented Jul 14, 2020

bors try

bors bot added a commit that referenced this pull request Jul 14, 2020
@bors
Copy link
Contributor

bors bot commented Jul 14, 2020

try

Build succeeded:

@tomtau
Copy link
Contributor Author

tomtau commented Jul 14, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 14, 2020

Build succeeded:

@bors bors bot merged commit 0a104ef into crypto-com:master Jul 14, 2020
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.

2 participants