Sirius's avatar
Sirius
sirius@iris.to
npub1g53m...drvk
developing iris.to
Sirius's avatar
Martti Malmi 10 months ago
Kek, I didn't know how Nostr works and used 30078, without "d" tag, and wondered why my double ratchet DM events were not properly stored or relayed. Works much better now with kind 1060.
Sirius's avatar
Martti Malmi 10 months ago
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. Typescript library, only uses cryptography from nostr-tools. "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.
Sirius's avatar
Martti Malmi 11 months ago
Sauna, swimming and hacking near Helsinki. Maybe we should do a Nostr retreat here after BTC HEL in August? image
Sirius's avatar
Martti Malmi 11 months ago
@PABLOF7z I'm initialising NDK with const options = opts || { explicitRelayUrls: DEFAULT_RELAYS, enableOutboxModel: true, cacheAdapter: new NDKCacheAdapterDexie({ dbName: 'irisdb-nostr' }), }; ndkInstance = new NDK(options); but not seeing connections to relays other than explicitRelayUrls. Should it be connecting to author relays as per outbox model?
Sirius's avatar
Martti Malmi 11 months ago
Any good free blossom hosts out there? Need something for iris.to.
↑