bcgit / bc-java

Bouncy Castle Java Distribution (Mirror)
https://www.bouncycastle.org/java.html
MIT License
2.27k stars 1.12k forks source link

Support Schnorr signatures #1114

Open schildbach opened 2 years ago

schildbach commented 2 years ago

(I was pointed here by the dev-crypto list, the thread is mysteriously missing from the mailing list archive.)

My feature request is to support Schnorr signatures, specifically the variant that Bitcoin uses: BIP-340

David made the suggestion to add them to the signers package in the low level API and then add a suitable named equivalent to the JCE provider.

msgilligan commented 1 year ago

The related bitcoinj issue is here: https://github.com/bitcoinj/bitcoinj/issues/1949

There is some public-domain Java code in a repo hosted by Samurai, here: https://code.samourai.io/samouraidev/BIP340_Schnorr

I'm proposing that the bitcoinj project start an implementation that we would hopefully, eventually submit to Bouncy Castle. Is anyone interesting in providing some guidance or helping with this effort?