What is Nostr?
cypherhoodlum🏴‍☠️
npub1h00…0cnf
2025-02-24 10:25:28

cypherhoodlum🏴‍☠️ on Nostr: Very cool. Nice work Martti! ...

Very cool. Nice work Martti!
Double ratchet messaging is deployed on iris.to. Try sending me a message at https://iris.to/sirius ! Thanks to Human Rights Foundation for supporting the project!






"Add to home screen" on iOS to enable push notifications.

The point of double ratchet is 1) hiding message metadata (who you're messaging and when) and 2) keeping your past and future message history safe in case your main Nostr key is revealed.

I'll write a nip for it. Basically it's Signal's "double ratchet with header encryption", but using Nostr keys instead of symmetric header key rotation. The algorithm is not too complicated. https://signal.org/docs/specifications/doubleratchet/

Typescript library, only uses cryptography from nostr-tools. https://github.com/mmalmi/nostr-double-ratchet

"Public invite" on your "new chat" page is published on Nostr. It's used when you first send message at someone's iris.to profile. Initial message to public invite is from anonymous sender, but publicly visible. From thereon, keys are rotated and stay hidden. "Private invite" is not published, so it's more private when shared over QR code or other channel.

Sometimes the chat sessions stop working at iris.to, probably it's incorrectly saving an old version of the ratchet session state. Working on it.
Author Public Key
npub1h00dlum44jnxdjeqms0d9s0l0n0lslv84mcw5420qpu277d8y4mqpv0cnf