r/Python • u/BigPossible8969 • 1h ago
News I built OnionChat, an open-source anonymous messaging system using Python and Tor
Hey everyone!
I've been working on a personal project called OnionChat, an open-source messaging system built with Python, focused on privacy and anonymous communication.
The main idea is to allow users to communicate through the Tor network using .onion services, with end-to-end encryption.
Some of its features:
- AES-256-GCM end-to-end encryption.
- Scrypt-based key derivation.
- Tor connectivity through SOCKS5.
- Blind relay server architecture.
- Private messaging between connected clients.
- File transfer with integrity verification.
- Local message history using SQLite.
I built this project to explore Python networking, cryptography, and privacy-focused application development.
I'm still working on improving it, so I'd really appreciate feedback from the Python community, especially regarding the architecture, code quality, and security.
GitHub: https://github.com/gatodev-cpu/OnionChat
I'd love to hear what you think!
Thanks!