E-Ink News Daily

Back to list

onionlink: 2.5k lines of C++ to connect to v3 onion services, using only libsodium and mbedTLS

A new C++20 library called onionlink enables direct connections to Tor v3 onion services using only libsodium and mbedTLS. It implements core Tor protocol components like circuit building and descriptor parsing as a lightweight interoperability tool. The project explicitly avoids security/anonymity guarantees and is intended for experimentation rather than production use.

Background

Tor onion services provide anonymous communication through specialized protocols, typically requiring the full Tor stack. This project demonstrates a minimal implementation using only cryptographic libraries.

Source
Lobsters
Published
May 3, 2026 at 05:04 AM
Score
6.0 / 10