Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve nonce_gen and fix sign_verify test vectors #75

Merged
merged 5 commits into from
Feb 2, 2023

Conversation

jonasnick
Copy link
Owner

No description provided.

Copy link
Collaborator

@real-or-random real-or-random left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK f9f66f3

@real-or-random real-or-random merged commit 3640b12 into musig2 Feb 2, 2023
real-or-random added a commit to BlockstreamResearch/secp256k1-zkp that referenced this pull request Mar 2, 2023
b43dd83 musig: add missing static keyword to function (Jonas Nick)
068e6a0 musig: add test vectors from BIP MuSig (Jonas Nick)
36621d1 musig: update to BIP v1.0.0-rc.2 "Add ''pk'' arg to ''NonceGen''" (Jonas Nick)
d717a49 musig: update to BIP v0.8 "Switch from X-only to plain pk inputs." (Jonas Nick)
304f1bc extrakeys: add pubkey_sort test vectors from BIP MuSig2 (Jonas Nick)
ae89051 extrakeys: replace xonly_sort with pubkey_sort (Jonas Nick)
98242fc extrakeys: add secp256k1_pubkey_cmp (Jonas Nick)
73d5b66 musig: update to BIP v0.7.0 (NonceGen) (Jonas Nick)
060887e musig: update to BIP v0.5.1 "Rename ordinary tweaking to plain" (Jonas Nick)
cbe2815 musig: update to BIP v0.4 "Allow the output of NonceAgg to be inf" (Jonas Nick)
206017d musig: update to BIP v0.3 (NonceGen) (Jonas Nick)
d800dd5 musig: remove test vectors (Jonas Nick)

Pull request description:

  Version 1.0.0-rc.3 of BIP MuSig2 can be found [here](jonasnick/bips#75). This PR does _not_ implement the following optional features that have been added to BIP MuSig2:

  - variable length messages
  - deterministic signing
  - identifiable aborts

  The PR also does _not_ yet change the `secnonce` structure to also contain the signer's public key (which would also imply changing the seckey argument in `sign` to a keypair). Additionally, we may want to rename some things in the future to be more consistent with the BIP (e.g. keyagg_cache vs. keyagg_ctx, applytweak vs. tweak_add).

ACKs for top commit:
  ariard:
    Light Code Review ACK b43dd83, mostly looks on how the user API will make sense for Lightning, thanks for the answers!
  real-or-random:
    ACK b43dd83

Tree-SHA512: 9b1410951b55a1b0e6590b8c302052996d1fb6d9771765498b4282ff68b44ab0d6add8144c9330217b682ec5a93508b5546099db9a1f2c865f99253010dd76f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants