decentralized-identity / SchnorrSecp256k1Signature2019

SchnorrSecp256k1Signature2019
https://identity.foundation/SchnorrSecp256k1Signature2019/
Apache License 2.0
1 stars 1 forks source link

Alignment with secp256k1 public key spec? #5

Open ChristopherA opened 3 years ago

ChristopherA commented 3 years ago

Does bitcoin-ts conform with the latest Bitcoin Schnorr BIP-340 specification for Schnorr public keys as implemented in Bitcoin-Core in secp246k1? Now that this update has been merged into Bitcoin Core 0.21 final test releases, I feel confident that it has been sufficiently reviewed.

I looked at bitcoin-ts and it doesn't say anything about conformance with BIP-340 public keys, but https://github.com/guggero/bip-schnorr (another javascript library with demo at https://guggero.github.io/cryptography-toolkit/#!/schnorr) does properly say it isn't up-to-date anymore.

-- Christopher Allen

ChristopherA commented 2 years ago

Any way to get a 2022 version of this that conforms to Bitcoin’s BIP-322 and test vectors?

In particular is supporting the x-only compressed public keys.

This is the version that has been implemented and has security reviews in https://github.com/bitcoin-core/secp256k1 which has now been merged into bitcoin-core, and is deployed by soft-fork last year.

ChristopherA commented 2 years ago

/cc @wolfmcnally