cloud fodder on Nostr: I will need to fire up mitmproxy to see the traffic on the wire. As far as i can ...
I will need to fire up mitmproxy to see the traffic on the wire. As far as i can tell, the code is supposed to be sending false like this
falseString := fmt.Sprintf(`["OK","%s","false","auth-required: you must auth"]`, event.ID)
Published at
2024-07-09 21:25:45Event JSON
{
"id": "3125a67e66fcc5fb261b266b664a788d83e18e9e1197a3e20fe66d22b17c5de3",
"pubkey": "7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e",
"created_at": 1720560345,
"kind": 1,
"tags": [
[
"e",
"000006f12dea48ce1bf760ea2c2df37808e41b2e4ae10ff64207b4243f515e30",
"wss://nostr.einundzwanzig.space/",
"root"
],
[
"e",
"dfea5c5670759392f3a1f1b13e5f4d7b179f7677edf220469c5e1704e4c6f229",
"wss://nostr.einundzwanzig.space/",
"reply"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"",
"mention"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"",
"mention"
]
],
"content": "I will need to fire up mitmproxy to see the traffic on the wire. As far as i can tell, the code is supposed to be sending false like this\n\nfalseString := fmt.Sprintf(`[\"OK\",\"%s\",\"false\",\"auth-required: you must auth\"]`, event.ID)\n\n",
"sig": "dfaeac4ccfb6317c946e4c0c9fbf324e36340d69fd851b928c988f6be7397665bd57f2f49c6df4183d5e55dc226f94b6893828497ae1cb68a2ef55a3f87da288"
}