Skip to content

Instantly share code, notes, and snippets.

Created January 7, 2022 18:06
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save robot-dreams/669c13bc724fdeb9af8460c9b64d5665 to your computer and use it in GitHub Desktop.
Challenge 001

You're given Schnorr signatures on two different messages signed by the same private key. Fortunately for you (the adversary), the signer screwed up their implementation of BIP-340 and reused a nonce.

Can you capitalize on this fatal error and extract the signer's private key?

Note: You may find it helpful to interpret some of the byte strings as ASCII, in order to check your work.

Public Key


Message 1


Signature 1


Message 2


Signature 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment