Metadata-Version: 2.4
Name: tanmesh
Version: 0.1.0
Summary: TanMesh – Tor-routed P2P end-to-end encrypted messenger core and CLI.
Project-URL: Homepage, https://github.com/youruser/tanmesh
Project-URL: Source, https://github.com/youruser/tanmesh
Project-URL: Issues, https://github.com/youruser/tanmesh/issues
Author-email: Smridh Gupta <smridhgupta007@gmail.com>
License: MIT
Keywords: cryptography,encryption,messenger,p2p,privacy,tor
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.10
Requires-Dist: cryptography>=41.0.0
Description-Content-Type: text/markdown

# TanMesh

**TanMesh** is a Tor-routed, P2P, end-to-end encrypted messenger core written in Python.

It provides:

- Long-term X25519 static identities (`node_id = SHA256(static_pub)`).
- Ephemeral X25519 keys per connection.
- HKDF-based root and chain keys.
- AES-GCM per-message encryption with padding and associated data (message counter).
- Optional embedded Tor instance that exposes your node as a v3 onion service.
- A minimal CLI chat interface for power users.

> ⚠️ **Security disclaimer**
>
> This is a research / hacker-grade tool. While the design uses strong primitives,
> it has not undergone formal security audits. Do **not** assume it is unbreakable.
> Use at your own risk.

## Installation

```bash
pip install tanmesh

