What about for the seal event? If I'm the sender of a message, the copy of the message that is sent to myself will contain a seal event with my pubkey set as the event pubkey. The seal content is then unencryptable on my side since I have no information on who I previously communicated with and can't calculate the conversation key (at least with nostr-tools). Would I just have to save a local state in that case, or am I thinking about the spec wrong?
Currently working on finishing up NIP-17 integration on nostr:nprofile1qqs2xugc5jyguqkj36rk0syv4tmnkjdtmtperttl7x9rqjy3ustdcvcppemhxue69uhkummn9ekx7mp0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qg6waehxw309aek2mnyd96zumn0wdnxcctjv5hxxmmd9uxa0uz8.
If you’re the sender and you send the copy to yourself, you are both the sender and the receiver. You would unseal with your private key, which would reveal the kind 14 DM rumor (unsigned DM) which has the p-tag(s) of the actual receivers.
Ahh, that finally makes sense; thank you!
This is the best developer support group; single-handedly cleared up all the confusion about these DM and encryption NIPs. I feel like we’re getting some momentum to hopefully move most of the popular clients onto NIP-17 DMs and away from NIP-04 DMs in the medium-term. I’m very curious for scoping out the effort to have Damus onboarded.
The dev support group is the killer app... 😅