Etoki

Security

Designed for a hostile network

Etoki assumes routers can be watched or compromised. Its guarantees come from the protocol, not from trusting the operator.

PQ-hybrid handshake

The NST handshake combines X25519 and ML-KEM-768. In-channel rekey re-exchanges fresh ephemerals so long sessions keep healing.

Self-healing ratchet

Every double-ratchet DH step mixes in a new ML-KEM encapsulation, giving post-compromise security against a future quantum adversary.

Onion routing

Entry and destination roles split knowledge of the endpoints; pooled inter-router links and jittered batching blunt timing correlation.

Traffic-analysis resistance

Fixed 16 KiB blocks, exponential cover-traffic schedules, and 0–400 ms send-jitter decouple real activity from what an observer sees.

Fingerprint-pinned trust

Addresses pin a public-key fingerprint, so forged DNS or TLS answers can never impersonate a router, relay, or peer.

Abuse resistance

Proof-of-work on queue creation, per-IP and per-sender rate limits, and a retention sweeper keep open relays from being weaponized.

Onion routing

No one sees the whole path

The entry router learns your IP but not your contact. The destination router learns the queue but not you. Content stays encrypted end to end.

You
sender
encrypted
Entry
sees your IP, not the peer
encrypted
Destination
sees the peer, not you
encrypted
Peer
recipient
No single router sees both endpoints. Content is end-to-end encrypted the whole way.

Threat model

What a router can observe

Even a fully compromised router learns almost nothing beyond an opaque queue identifier.

DataVisible to a router?Why
Message content NoEnd-to-end encrypted
Who you're talking to NoSplit across 2 hops
Your real IP (destination side) NoHidden by entry
Message size / timing pattern NoFixed blocks + cover traffic
That a queue exists LimitedOpaque queue id only