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

Add anti nonce-sidechannel protocol to schnorrsigs #572

Closed
wants to merge 7 commits into from

Conversation

jonasnick
Copy link
Contributor

@jonasnick jonasnick commented Nov 1, 2018

Based on #588.

Adding anti nonce-sidechannel functionality was a request in the schnorrsig module PR. The use case is to prevent a signing device from exfiltrating the secret signing keys through biased signature nonces, for example after a bad firmware update. It uses sign-to-contract commitments to host supplied randomness which forces the signer to randomize the nonce.

In order to add more sign-to-contract commitments the host can create a merkle tree of data to be committed and randomness and send that to the signing device as "host randomness".

See https://github.com/bitcoin-core/secp256k1/pull/572/files#diff-b19c5ee427283d4d82bc5beb4e2f4777R59 for the workflow.

@jonasnick
Copy link
Contributor Author

rebased on #558

@jonasnick jonasnick changed the title Add sign-to-contract and an anti nonce-sidechannel protocol to schnorrsigs Add anti nonce-sidechannel protocol to schnorrsigs Jan 29, 2019
@jonasnick
Copy link
Contributor Author

The sign-to-contract functionality is not split off into new PR #588.

@jonasnick
Copy link
Contributor Author

Closing in favor of #590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants