reya's avatar
reya _@reya.su 3 months ago
send message between jumble (beta) and coop works like a charm, all messages are encrypted by encryption key rather than user identity (NIP-4e). kudos @Cody

Replies (16)

How does it know when to use my identity key or when to use my decoupled key? Is it like if I send a message to someone who has a decoupled key then it will also use my decoupled key?
Flowey's avatar
Flowey 3 months ago
But aren't Jumble's DMs a NIP-17 version of NIP-4E? How is it compatible with Coop's DMs, which are NIP-4E?
Coop was the first client to support NIP-4e, and it lets you choose different modes when sending messages. Jumble only displays NIP-4e, so when sending a message from Coop to a Jumble user, make sure to select “encrypt by encryption key.”
reya's avatar
reya _@reya.su 3 months ago
You can check it by using config button here "Auto": Coop will use decoupled key if both users are set it up, if not coop will fallback to the user key
reya's avatar
reya _@reya.su 3 months ago
I'm also adding a feature to check if message is encrypted by decoupled key or user key
reya's avatar
reya _@reya.su 3 months ago
Yes, I agree the UX need to be improve, but I think you're misunderstand some points - Client A create a encryption key, user use it for encrypt/decrypt stuffs - Then user use Client B, Client B see user has set up encryption key in Client A. Then Client B request to share the encryption key from Client A. Client A share it. - Only one encryption key there, there are no multiple encryption keys
I'm assuming that at scale some fragmentation will occur due to undiscovered 10044. But technically you are correct: In a perfect network there would only ever be one encryption-only key pair. With all the issues Marmot has been having with key package discovery and reconciliation on NOSTR, I think 10044 will suffer a similar fate.
reya's avatar
reya _@reya.su 3 months ago
10044 event is only published to the user's relay list. but yes, it could still be missed