Selim on Nostr: The event’s property `sig` is the 64 bit signature of the hashed stringified event. ...
The event’s property `sig` is the 64 bit signature of the hashed stringified event. It is obtained by signing with the author private key. A relay couldn’t simulate the sig value. And clients should verify ˋcontent` versus `sig`.
Published at
2023-11-07 08:02:11Event JSON
{
"id": "76f15d68448e2350957d4ead840c6a443a8678664af206d391c307c780c4fb98",
"pubkey": "8ba66f4c897835957d68ee4ef6abe59ad767b76c68fa1923db21e5fd59175b61",
"created_at": 1699344131,
"kind": 1,
"tags": [
[
"e",
"fe03cff8b4e35eef5fdaaec354d176cfceb2f7537ac3c87d93ec5d69e9ae873c",
"",
"root"
],
[
"p",
"7a5af9e01b137408e7cb2d85fb9d5d8395297ac19faf266069b82bc20b156859"
]
],
"content": "The event’s property `sig` is the 64 bit signature of the hashed stringified event. It is obtained by signing with the author private key. A relay couldn’t simulate the sig value. And clients should verify ˋcontent` versus `sig`. ",
"sig": "b6e701bd194d2cda991da4a02409904e635f6660c5ea0491ece89e55c94689d6684df525d07e3e05254d6b183b154fb14165e1241f74e9ceeb0555a84e23f375"
}