mikedilger on Nostr: I don't have this, but I am in need of reworking how signing works in gossip. Right ...
I don't have this, but I am in need of reworking how signing works in gossip. Right now I cannot async/await any kind of signing process because it trips a rust compiler lifetime bug (about '0 and '_ being different)... I can't find a link to the bug, it was in the 101xxx region. Oh well...
I may need to write a synchronous signer process that communicates remotely but blocks (to a stdio subprocess, or to a remote bunker), and have it send messages to/from the main code instead of being called/awaited upon directly.
Published at
2025-02-06 20:22:39Event JSON
{
"id": "dffb3f56ac99dbc2935105951b0329a06d8eb4ff795dcdb4d6ca7544b2c42a9d",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1738873359,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"e",
"8396febf9039ff37486eee7bfa7507f683dcaac85ae5f2a8f31427dd22a91b96",
"wss://bitcoiner.social/",
"root",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "I don't have this, but I am in need of reworking how signing works in gossip. Right now I cannot async/await any kind of signing process because it trips a rust compiler lifetime bug (about '0 and '_ being different)... I can't find a link to the bug, it was in the 101xxx region. Oh well...\n\nI may need to write a synchronous signer process that communicates remotely but blocks (to a stdio subprocess, or to a remote bunker), and have it send messages to/from the main code instead of being called/awaited upon directly.\n",
"sig": "5b78967bd8f41b261ff9d0e86f65d09c8cefce43fbedcade9531d4ae73fa94b8be9f673194ceabf92bb9c3dde2b8b0845191960dc4f84f699190f39bc074a74a"
}