ridsdszltdel on Nostr: Nice. Yes, some relays implementation have supported NIP-42 authentication which ...
Nice.
Yes, some relays implementation have supported NIP-42 authentication which protecting event from unauthorized read (only whitelisted pubkey can read). We can check their support based on NIP-11 information. I think nostr-tools library already suppport NIP-42, so for certain relays you can probably utilize it to make it more secure.
Published at
2023-08-10 15:15:51Event JSON
{
"id": "f33e1d57f9a32d86f7c8ffe2112c7edad1dc5c7c61c2833100f25c6415827d07",
"pubkey": "dd428c666b341640a5b5adc8515396645902e0dc163651f0313e82162776959b",
"created_at": 1691680551,
"kind": 1,
"tags": [
[
"e",
"21874a0d5d627ed467751bf2bf9e44fe755f0e0a8b2de9afcc94a4dbbfecf332",
"",
"root"
],
[
"e",
"d9b8f2cfca38bdda39ea1795dbecd937752cc0a552bcfadffee72db98fb42458",
"wss://roy-gem-arbitration-suits.trycloudflare.com",
"reply"
],
[
"p",
"efc37e97fa4fad679e464b7a6184009b7cc7605aceb0c5f56b464d2b986a60f0"
],
[
"p",
"dd428c666b341640a5b5adc8515396645902e0dc163651f0313e82162776959b"
]
],
"content": "Nice.\n\nYes, some relays implementation have supported NIP-42 authentication which protecting event from unauthorized read (only whitelisted pubkey can read). We can check their support based on NIP-11 information. I think nostr-tools library already suppport NIP-42, so for certain relays you can probably utilize it to make it more secure.",
"sig": "6f8df16b2f84a4b6206d2a0f8980441bc8e6997f1a5ac4fea4c385ab253e95069203ad269427848772c6fd21a293b75059091a5fe1286a4ca4b8645ce328e8af"
}