How Vetro keeps a session private
What you see and type is encrypted on your Mac before it leaves. That holds on your Wi-Fi, on Tailscale, and through a Cloudflare Tunnel. A tunnel carries encrypted data only.
What Cloudflare sees
Only encrypted data. Cloudflare ends ordinary web encryption at its edge, but Vetro doesn't rely on that layer, so your picture and keystrokes aren't exposed there.
The encryption
Pairing uses Noise_IKpsk2_25519_ChaChaPoly_SHA256. Later connections to a paired Mac use Noise_IK_25519_ChaChaPoly_SHA256. They run on Apple CryptoKit. Every route uses them, including a connection on the Mac itself. Outer TLS or WireGuard is extra, and the session doesn't trust it. Pairing exchanges static X25519 keys and a one-time 256-bit pre-shared key. An unknown phone fails the first handshake message, and the Mac keeps no state for that attempt. Replayed frames are rejected, and encryption stops before the nonce counter would wrap.
Routes
Home: Bonjour finds the Mac, and the session runs over QUIC. Tailscale: Coming in 1.0 sign in on the Mac, in Vetro, and scan a code. You don't install the Tailscale app. Cloudflare Tunnel: Vetro fetches a pinned copy of Cloudflare's tunnel tool, so you don't have to install it. Input and video use two separate lanes, /v1/ws/control and /v1/ws/media, so a click doesn't queue behind a video frame. The Mac can require a Cloudflare Access token before it accepts the connection. A Quick Tunnel is part of Vetro Personal, stays off until you turn it on, needs approval on the Mac, and closes when idle.
A badge shows on your Mac while someone's connected. You can disconnect any paired device from the Mac menu. Vetro asks for Screen Recording and Accessibility. It doesn't bypass the Lock Screen, Secure Input fields or FileVault. Missing Accessibility permission leaves Vetro view-only.
Reporting a problem
Email security@comonad.co.uk, or open a private GitHub Security Advisory. Don't file a public issue for a vulnerability. Reports get a reply within 48 hours, and details stay private until a fix is out.
Limits
After a restart, sign in on the Mac first. Vetro doesn't sign in for you, and it doesn't unlock the Mac.