jimbocoin on Nostr: In order to decrypt the DM, the client must have control of the private key. But yes, ...
In order to decrypt the DM, the client must have control of the private key. But yes, they don’t have to sign anything—just prove that they have the private key to decrypt the DM.
I guess the question is whether your service wants to run its own relay. If you’re running your own relay, the client *should* automatically respond to a NIP42 auth request transparently without the user having to do anything.
If you’re not running your own relay, then NIP42 connection-level auth won’t help you.
Published at
2025-01-06 12:14:20Event JSON
{
"id": "7070dc5633b7246dba452f1b631292b160f9dc9801f1c17a5674f1971cefccbf",
"pubkey": "6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5",
"created_at": 1736165660,
"kind": 1,
"tags": [
[
"e",
"dad9916174f066f88377af2380b98a453bd5ae3ae4dee237ce419f4793027216",
"wss://nos.lol",
"root"
],
[
"e",
"6a2aeebb44b0b73df321be70e3f4280fa542d5a69c087b56c27f9a13f6c2603f",
"",
"reply"
],
[
"p",
"ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe"
],
[
"p",
"e3fc673fc5f99cc554d0ff47756795647d25cb6e6658f912d114ae6429d35d35"
]
],
"content": "In order to decrypt the DM, the client must have control of the private key. But yes, they don’t have to sign anything—just prove that they have the private key to decrypt the DM.\n\nI guess the question is whether your service wants to run its own relay. If you’re running your own relay, the client *should* automatically respond to a NIP42 auth request transparently without the user having to do anything.\n\nIf you’re not running your own relay, then NIP42 connection-level auth won’t help you.",
"sig": "b6f80843afa3d274f65c4bf0856fed6fb4cfbd6e0cb474f328b2040afd7af8016c4614850f4259b04d2e9eb7ab12a16f6b2f838232e4e3bbd4f850e562f71636"
}