Very interesting. Can you do an example with NIP-44? I'd love to get NIP-17 DMs working with FROSTR if possible.

Reply to this note

Please Login to reply.

Discussion

frost2x has NIP-44 integrated. Bifrost nodes construct the shared secret, then pass it into NIP-44 methods (from nostr-tools) for encryption and decryption. NIP-17 should be doable on top of that.

honestly I didn't know of an ECDH solution until fairly recently. I stole it from Jesse Posner, full credit to him:

https://github.com/jesseposner

Wow, I didn't know this. Good to learn about this arcane knowledge here.

It is still kinda bad in the multisig bunker case because the coordinator can decrypt your messages, but better than nothing? I'll try to implement it.