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

btcec/schnorr/musig2: update to musig 1.0.0 #1894

Merged
merged 9 commits into from
Oct 25, 2022

Commits on Oct 21, 2022

  1. btcec/schnorr/musig2: update musig2 impl to version 0.7.0

    The two _concrete_ changes between version 0.4.0 (where we are before
    this commit), and version 0.7.0 are:
    
      1. Variable length messages are now allowed, this comes with a new 8
         byte prefix for the messages.
    
         * Our implementation was already using a `[]byte` for the
           message/hash, so no extra API changes are needed here.
    
      2. The serialization for a blank message and a normal message (for
         nonce gen) is now distinct. A single byte is added (either 0 or 1)
         to indicate if a message was passed into nonce generation.
    Roasbeef committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    a34e777 View commit details
    Browse the repository at this point in the history
  2. btcec/schnorr/musig2: update to musig 1.0.0

    The major change in musig 1.0.0 is that plain public keys are used as
    input to key aggregation.
    Roasbeef committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    1567f20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d9f448 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e55273 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc12483 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca28a98 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5d895bb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    323871f View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. btcec/schnorr/musig2: always pass in priv key for early nonce gen

    This helps mitigate an issue discovered in musig2 under certain
    scenarios:
    https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-October/021000.html.
    Roasbeef committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    eef9fbc View commit details
    Browse the repository at this point in the history