Signal Protocol for a P2P Webapp

TL;DR: I have open-sourced a #Rust implementation of the #SignalProtocol that compiles to #WASM for #Browser-based #P2P messaging, overcoming the #NodeJS limitations of the official library.

I am sharing my implementation of the Signal Protocol designed specifically for the #Frontend. While the official libsignal is the gold standard, its #JavaScript targets are often optimized for Node.js, which creates integration challenges for client-side web applications.

My version is built in #RustLang and compiles to #WebAssembly, utilizing #ModuleFederation to provide robust #Encryption for decentralized environments. It currently powers the end-to-end security for my #P2P messaging project.

Protocol Demo:
https://signal.positive-intentions.com/

P2P App Demo:
https://p2p.positive-intentions.com/iframe.html?globals=&id=demo-p2p-messaging--p-2-p-messaging&viewMode=story

I am looking for feedback from the #Dev and #Infosec community. If you have experience with #Cryptography audits or formal-proof verification, I would appreciate your eyes on the codebase as I work toward a more finished state.

GitHub Repository:
https://github.com/positive-intentions/signal-protocol

#Signal #SignalProtocol #Rust #RustLang #WASM #WebAssembly #OpenSource #OSS #Privacy #Encryption #E2EE #WebDev #Frontend #BrowserTech #Decentralized #WebApps #Coding #Security #SoftwareEngineering #Networking #PeerToPeer #P2P #Cryptography #Audit #CyberSecurity #Tech #JavaScript #Programming #ModuleFederation #P2PWeb #PrivacyTech #SecureMessaging #WebPerf #TechCommunity #InfoSec #WebSecurity

@libertyotf

Me, too. For the user, it was the most capable & user-friendly of the #P2Pweb #DistributedWeb systems I tried. It just needed more people.

@libertyotf

Oh, & the pros of #Zeronet #P2P vs #decentralization / #Fediverse
+ no need to pick an instance (& the research / issues that entails)
+ no worry that the instance you pick will disappear / turn heel etc
+ no need to ever migrate instances (& the complications that entails)

EDIT
+ no need for self-hosting expertise, reverse proxy, Docker containers etc

#P2Pweb #P2PSocialMedia

@avlcharlie we kinda did this with #p2pweb published activitypub in @distributedpress and support reading via https://reader.distributed.press benefit is it's easy to bridge to http activitypub via gateways.
Social Reader

Thinking forward about the "democratic web" forum (or should it be for general free web? #fediverse, #indieweb and #smallweb and #p2pweb included), we went on to set up Discourse today.

We need to write a plunging for signing up using ZK proofs.

While my mate Ahmad went on to set it up on our server, I tried to install it locally. And failed. and failed. and failed!

.. 8 hours later turns out that a simple rename of a folder would solve my strange problem. #Ruby can be annoying.

An informative conversation of @aral with an inspired @dsearls about the idea of #smallweb :
"what if each one of us had our own place, our own address, a small place on the web, and we could be publishing whatever we want, and people would be able to follow you.. but you could also be private, and i mean.. really #private not Facebook-private, but #endtoend encrypted. The small web is in fact a #P2Pweb."
https://twit.tv/shows/floss-weekly/episodes/753
Small Is Beautiful | TWiT.TV

Aral Balkan of the Small Technology Foundation talks with Doc Searls and Dan Lynch about the small web, the tame little server called Kitten, and much more about the wide open

TWiT.tv
Floating Swarm screenshot 09/2019

PeerTube
Vaya, esto está curioso. Un gateaway para poder visitar webs alojadas en protocolo dat:// - https://dat.bovid.space/ Os recomiendo por ejemplo visitar la página de Coolguy: dat://coolguy.website/
#dat #p2pweb
Un vídeo chat p2p, "No logins. No tracking. Free forever." - https://p2p.chat/ #p2pweb
p2p.chat

En el blog de iulius, «Scuttlebutt, una red social peer2peer» - http://elblogdeiulius.es/scuttlebutt-red-social-p2p
#scuttlebutt #p2pweb #redessociales
Scuttlebutt, una red social peer2peer - el blog de iulius

Esto no es más que una breve nota sobre una red social que he descubierto recientemente. Scuttlebutt es una red social distribuida (no federada, como…