No way to extract a secret from a secp256k1_keypair: secp256k1_keypair_priv()? #1014

issue rustyrussell opened this issue on November 15, 2021
  1. rustyrussell commented at 12:10 AM on November 15, 2021: contributor

    In the x-only world, it makes sense to carry around secp256k1_keypair instead of raw secrets.

    However, this means there's no way of accessing secret, i.e. secp256k1_keypair_priv().

    I actually want this for debugging, but logically I'd want it if I were to send secrets over the wire...

  2. jonasnick commented at 2:16 AM on November 22, 2021: contributor

    can we close this? @rustyrussell

  3. real-or-random commented at 10:23 AM on December 7, 2021: contributor

    Closing for now, we can still reopen in case there are further questions.

  4. real-or-random closed this on Dec 7, 2021


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-27 08:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me