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/
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
Discussion
No replies yet.