Encrypted messaging you can actually understand. Contribute to achempion/tlx development by creating an account on GitHub.
It runs SSH server in a container that acts as a mailbox for opaque encrypted blobs (145 lines of code).
SSH keys serve as an identity.
Then a local demon syncs and decrypts these blobs into SQLite database (321 lines of code).
I wanted to make crypto as simple as possible and have only widely used and well audited components.
Relay server and sync demon are implemented in standard Python without any extra dependencies.
I've chosen Python as it ships with SQLite client in standard library. Could have used go/rust, but wanted to keep reference implementation as simple as possible with minimal dependencies.
7 comments
For the local sync, I needed sqlite and python comes with sqlite client in a standard lib, ruby requires a gem.
I wanted core parts of the infra (relay and sync) to be implemented with zero external language dependencies. I didn't want to have a relay in ruby and sync in python. TUI example uses textual, so everything fits in a single language.
> Communicate with people you trust, away from the eyes of modern surveillance and large corporations.
I hope this answers your question.
Read the full thread on Hacker News →
Related stories
- Lobsters · 86 points · about 1 year ago
- Hacker News · 8 points · 6 days ago
- Hacker News · 1 points · about 2 hours ago
- Hacker News · 1 points · 9 days ago
- Hacker News · 14 points · 9 days ago
- Hacker News · 1 points · 5 days ago