Mazin on Nostr: Any idea what the issue is? We updated it when they added CLOSED. When a REQ is sent ...
Any idea what the issue is? We updated it when they added CLOSED.
When a REQ is sent that requires AUTH and the connection isn’t authenticated, we send an AUTH challenge and a CLOSED with "auth-required: this relay only serves private notes to authenticated users"
I believe that is the expectation in NIP-42 - unless it changed again.
Published at
2025-02-01 21:05:26Event JSON
{
"id": "35c33582986c101e08019c24119386b6dc366a27b34a3236329542aca36d2f9b",
"pubkey": "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d",
"created_at": 1738443926,
"kind": 1,
"tags": [
[
"e",
"c776051728a8f5307547fb4783310419f08fcbd342606ead81f47e5dc43243b8",
"",
"root"
],
[
"e",
"77523e24ad06227c8b1323f5e7ddd5a83cfa7b34af7c1d11e16d38be36889807",
"",
"reply"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"p",
"70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9"
]
],
"content": "Any idea what the issue is? We updated it when they added CLOSED. \n\nWhen a REQ is sent that requires AUTH and the connection isn’t authenticated, we send an AUTH challenge and a CLOSED with \"auth-required: this relay only serves private notes to authenticated users\"\n\nI believe that is the expectation in NIP-42 - unless it changed again.",
"sig": "9637a45fc24f611d3ed4049a46169d02c5ae5f195677f96fff6a154f9813f0138625a292fc02baf5004c2cdb8ac1b7c49e4ac39b16b54c87ad524c48749c2729"
}