rot13maxi on Nostr: If you re-use a nonce for two different signatures with the same key, it leaks the ...
If you re-use a nonce for two different signatures with the same key, it leaks the key.
Imagine a UTXO is encumbered with a script that says “you have to use 7” as the nonce.
If you can spend that UTXO and you sign more than one transaction spending it, you leak your private key.
Lots of interesting applications (especially in multi party settings) where you can make it costly for someone to sign two conflicting transactions
Published at
2024-06-27 03:48:00Event JSON
{
"id": "7c866b000469f8c554fbd98872c890fcacd7f6495ca2e96a5a41ef6767381af8",
"pubkey": "d987084c48390a290f5d2a34603ae64f55137d9b4affced8c0eae030eb222a25",
"created_at": 1719452880,
"kind": 1,
"tags": [
[
"e",
"9d3a4fdb56be3ba9194890986ad7d428f0ab60288fb2cbede0f5fdd0a315173a",
"",
"root"
],
[
"e",
"39462fd9c2c0343189223c1d9845d56e346a66693282376243f7de5ba9aebec6",
"wss://nostr.oxtr.dev",
"reply"
],
[
"p",
"d3d74124ddfb5bdc61b8f18d17c3335bbb4f8c71182a35ee27314a49a4eb7b1d"
]
],
"content": "If you re-use a nonce for two different signatures with the same key, it leaks the key. \n\nImagine a UTXO is encumbered with a script that says “you have to use 7” as the nonce. \n\nIf you can spend that UTXO and you sign more than one transaction spending it, you leak your private key. \n\nLots of interesting applications (especially in multi party settings) where you can make it costly for someone to sign two conflicting transactions",
"sig": "abe88f1ace7543da0e5419a2dc61a27b906e19553aeb05000e927b09f429138f3a118f9506b1321ee0a4c3c8e4a749500c9f7f54e77e37fa93f8dfd56d48010b"
}