Stratum V2 Security: How Noise Stops Hashrate Theft
Published

Frequently asked questions
How does Stratum V2 encrypt the connection?
Stratum V2 uses the Noise protocol framework to perform an authenticated key exchange, then encrypts all traffic with ChaCha20-Poly1305, an authenticated cipher that provides both confidentiality and tamper detection. It is the same cryptographic family used by WireGuard, and it is fast even on low-power mining hardware.
What is an authority key in Stratum V2?
An authority key is a public key the pool publishes and the miner pins in its configuration. During the Noise handshake the pool proves it holds the matching private key, so your miner knows it reached the genuine pool and not an impersonator. mkpool publishes its authority key on every connect page.
Can hashrate really be stolen on Stratum V1?
Yes. Because V1 is plaintext and unauthenticated, an active attacker between you and the pool can rewrite the session and point your accepted shares at their own payout account. You would see normal-looking activity while mining for a stranger. This has been demonstrated repeatedly, which is a core reason V2 exists.
Does encryption slow mining down?
No meaningfully. The Noise handshake happens once per connection, and ChaCha20-Poly1305 is extremely fast; encrypting the small stream of jobs and shares is trivial work for anything that can run mining firmware. In exchange you get confidentiality, integrity, and pool authentication.
Is Stratum V2 more secure than V1 over TLS?
They overlap but V2 goes further. TLS gives V1 encryption and, with certificates, server authentication. Stratum V2 bakes in encryption plus a pinned authority key and also redesigns the message format. If you cannot run V2 yet, V1 over TLS is a strong interim step that closes the biggest holes.
Newsletter
Mining insights in your inbox
New guides, hardware reviews, and pool updates. No spam, unsubscribe anytime.
Loading comments...
Keep reading

Bitaxe on Stratum V2: Encrypted Solo Mining Setup
How to run a Bitaxe over Stratum V2 on mkpool: use a translation proxy for encrypted, hijack-proof solo mining today, with the exact endpoint, port and authority key.

Mecanik1337

Stratum V1 vs V2: Every Difference That Matters
Stratum V1 vs V2 compared point by point: encryption, pool authentication, binary vs JSON, bandwidth, stale shares, job declaration, and which one to run in 2026.

Mecanik1337
Comments
Loading comments...
Leave a comment