Nostr-double-ratchet tests finally passing. Both ratchets should be working now, but don't take my word for it ๐Ÿ˜„

Signal-style 1-on-1 chat encryption in ~200 lines of typescript. Now just need to make it work again on iris.to and then other clients. https://github.com/mmalmi/nostr-double-ratchet

Reply to this note

Please Login to reply.

Discussion

It's quite similar to Signal's "double ratchet with header encryption" but encrypts the headers with Nostr keys instead of rotated symmetric keys. https://signal.org/docs/specifications/doubleratchet/

Very nice!

Any plans for groups?

And what are your thoughts on MLS?

Is Nostr-double-ratchet compatible with the libsignal of the Signal protocol?