Hmm, yeah, that sounds right, my point above was wrong because I actually do not want to involve the user's main nsec in any encryption operation whatsoever, so I guess we would need two independent nsecs for this to work, one for the giftwrap and the other for the encrypted content.
But my bigger point is that I believe we could make it work easily with existing NIP-17 clients by just making them use these alternate nsecs when encrypting instead of the target's main nsec. And then people could opt to just use their main nsec by default or to signal that they are now accepting DMs to these other nsecs.
(I didn't think this too much so I'm probably missing something again.)
seems fine but I think it leads to device keys because I doubt users will want to manually manage another nsec
Yes, I'm talking in the context of having device keys and then these secrets are shared seamlessly across devices.
Thread collapsed
Thread collapsed