Mike Hearn [ARCHIVE] on Nostr: 📅 Original date posted:2012-12-07 📝 Original message:> OK. I want to keep the ...
📅 Original date posted:2012-12-07
📝 Original message:> OK. I want to keep the signature field required, though, so how about:
>
> signature: digital signature over a protocol buffer serialized variation of
> the SignedPaymentRequest message where signature is a zero-byte array and
> fields are serialized in numerical order (all current protocol buffer
> implementations serialize fields in numerical order), using the public key
> in pki_data.
Looks good to me.
Published at
2023-06-07 10:43:58Event JSON
{
"id": "213601532bf48f04b5acd6e54beef547bf5adbb015ddf3fbb4d43b5be7ecc252",
"pubkey": "f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2",
"created_at": 1686134638,
"kind": 1,
"tags": [
[
"e",
"1bd78b419247dfb60fa2e8b1cf4983b406411160c7aa6e19780a4034c5da34de",
"",
"root"
],
[
"e",
"79344dc8df77bf633dd7bf4cad372db50f7441e14ab42b68fc0cdb482e6ccbc3",
"",
"reply"
],
[
"p",
"857f2f78dc1639e711f5ea703a9fc978e22ebd279abdea1861b7daa833512ee4"
]
],
"content": "📅 Original date posted:2012-12-07\n📝 Original message:\u003e OK. I want to keep the signature field required, though, so how about:\n\u003e\n\u003e signature: digital signature over a protocol buffer serialized variation of\n\u003e the SignedPaymentRequest message where signature is a zero-byte array and\n\u003e fields are serialized in numerical order (all current protocol buffer\n\u003e implementations serialize fields in numerical order), using the public key\n\u003e in pki_data.\n\nLooks good to me.",
"sig": "b3fb2d7b989172bcb6a6f14df4edcb036c440e3836fde6ad936173bc785bd6a39bf5c5457acb1d0110545eeb87eb45eb82f9ef22b9c3bb4afb07b44ffcd41b53"
}