RebelOfBabylon on Nostr: If I understand correctly, you want to make sure that whenever you generate a nonce ...
If I understand correctly, you want to make sure that whenever you generate a nonce for your ECDSA signatures, they should be as random as possible and should never be reused because it's simple to derive the secret key from the signature and the nonce.
I imagine that in both nostr and bitcoin, this is known and applications are designed with this in mind? Is ensuring random, non-reused nonces that hard to do?
Published at
2024-08-11 19:42:25Event JSON
{
"id": "675093bf424c876c00bdc44cb7a9586e1393171660d0f40c0b45b08ccc9bfe8d",
"pubkey": "d06e6018c1fcf7d80d4f18ae7ea669fa10f84389f95f6d1bdcea9727cb266c33",
"created_at": 1723405345,
"kind": 1,
"tags": [
[
"e",
"abfcc2e5ec549fa6504273a601edb8feb91494f7c0f945ab3b675babac489527",
"",
"root"
],
[
"p",
"675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728"
]
],
"content": "If I understand correctly, you want to make sure that whenever you generate a nonce for your ECDSA signatures, they should be as random as possible and should never be reused because it's simple to derive the secret key from the signature and the nonce. \n\nI imagine that in both nostr and bitcoin, this is known and applications are designed with this in mind? Is ensuring random, non-reused nonces that hard to do?",
"sig": "dda7be0ae0538301a1653205c254df16d7ab314521143d7bffa5c461813ae46d3bf2d0cc07cad9e42692e6c6d9a8fa402adbeafbc41538f0cbf785d09ce8a615"
}