JoeRuelle on Nostr: Nice. Earlier I was thinking along these lines for DMs to deal with the metadata ...
Nice. Earlier I was thinking along these lines for DMs to deal with the metadata issue without requiring gift-wrapping.
-Bob creates a secondary npub, this npub has no profile
-Bob messages Alice from the secondary npub with a special event called an 'It's me message' (IMM) or some such thing. This templated message contains Bob's actual npub
-Alice's client receives the IMM and sends back an IMM return (also an event type, contains a code valid for a period of time)
-Bob's client adds this code to Bob's profile, similar to adding a TXT record for DNS verification
-Bob's client sends a "go check" message to Alice
-Alice's client sees the code on Bob's profile and marks the DM chat as as being with Bob. Code is no longer needed.
The idea being this would all run over a few seconds, and Alice would not have to know anything about it if the verification failed.
Published at
2025-01-02 02:40:06Event JSON
{
"id": "c9003af6f7f6a1e77e52f758cb22ad3724e02c4a7e6bd455bbb13e24bfc1534e",
"pubkey": "b90c3cb71d66343e01104d5c9adf7db05d36653b17601ff9b2eebaa81be67823",
"created_at": 1735785606,
"kind": 1,
"tags": [
[
"e",
"38a54755565ad3527a5e529172307298b1ce86491a8bcd076f6ac034110d983b",
"",
"root"
],
[
"e",
"6ce07aad8da4fa8d4aa42e93cf76af48090c0d0a6581a1c3a1fbbaef3dd96ff9",
"",
"reply"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"0b963191ab21680a63307aedb50fd7b01392c9c6bef79cd0ceb6748afc5e7ffd"
]
],
"content": "Nice. Earlier I was thinking along these lines for DMs to deal with the metadata issue without requiring gift-wrapping. \n\n-Bob creates a secondary npub, this npub has no profile\n-Bob messages Alice from the secondary npub with a special event called an 'It's me message' (IMM) or some such thing. This templated message contains Bob's actual npub \n-Alice's client receives the IMM and sends back an IMM return (also an event type, contains a code valid for a period of time) \n-Bob's client adds this code to Bob's profile, similar to adding a TXT record for DNS verification \n-Bob's client sends a \"go check\" message to Alice\n-Alice's client sees the code on Bob's profile and marks the DM chat as as being with Bob. Code is no longer needed.\n\nThe idea being this would all run over a few seconds, and Alice would not have to know anything about it if the verification failed.",
"sig": "018d298dedf2454baf81f4b0e3cea5ae20ee57086c3c39f759721eb03f635a3791ddbc5b5d68e25afdb22fa09bd78ea5120e3d24cc1a5de947b92530854e4ab9"
}