waxwing on Nostr: Yeah there's a sign error there. Generally we go with s = r + e*x (but in the ...
Yeah there's a sign error there.
Generally we go with s = r + e*x (but in the literature you will occasionally see a s = r - e*x variant, which ofc makes no difference). Here they seem to have mixed it up in the verify step.
Published at
2023-03-24 21:32:19Event JSON
{
"id": "79ba71c1c7c7dd1c7a64a7ddc3fb7f711313a246c6d7957d4a2d65a4c61e4f99",
"pubkey": "675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728",
"created_at": 1679693539,
"kind": 1,
"tags": [
[
"e",
"ae24b406ea82d91320dd9eddece943f0529cff7b101b032cc632e81fd014900c",
"",
"reply"
],
[
"p",
"6a3301c4584124c509efa3efeef04dfa4e7413032797fb79d0207689a085f10c"
]
],
"content": "Yeah there's a sign error there.\n\nGenerally we go with s = r + e*x (but in the literature you will occasionally see a s = r - e*x variant, which ofc makes no difference). Here they seem to have mixed it up in the verify step.",
"sig": "8dc72ffefbae2115644c68b9fc3724c2a010e71d8cec17bbd41addd95464946c85a1ebcbf809f95ba033b82d5f471a5428c6a7c672e399de8264043855cfa57a"
}