Security
How MacDuo X keeps your Mac yours. Last updated November 29, 2026.
Remote control means everything on your screen and every key you type — including passwords — travels between your iPhone and your Mac. So we designed MacDuo X on one rule: only your own two devices can ever read it. Not us, not our relay server, not your internet provider, not anyone on the same Wi-Fi.
The short version
- End-to-end encrypted, always. Every pixel, sound and keystroke is encrypted on one device and decrypted only on the other.
- Post-quantum. Every connection agrees on fresh keys using X-Wing, which combines ML-KEM-768 (the NIST FIPS 203 standard) with X25519. It stays secure as long as either one holds — protecting today's sessions against “record now, decrypt later”.
- Forward secrecy. Session keys exist only in memory and are discarded when you disconnect. A stolen phone or a leaked pairing code can't unlock sessions recorded earlier.
- Hardware-bound, post-quantum identity. Each iPhone and Mac has its own ML-DSA-65 (NIST FIPS 204) signing key, created inside its Secure Enclave. The private key can never leave the chip — not to us, not into a backup.
- Both devices prove who they are on every connection — with the pairing secret and their hardware keys — so a man in the middle, including our own relay, can't join. A leaked pairing code alone is not enough: an attacker would also need your trusted iPhone itself.
- You approve every iPhone, and you can remove any one of them from your Mac's menu at any time.
- Two independent layers. All of this runs inside a second, separately keyed TLS connection.
- No accounts, no passwords on our servers, no analytics. There is nothing about you for anyone to steal from us.
Pairing: you approve every iPhone
There are two ways to pair, and both need you at your Mac: scan the QR code shown on your Mac's screen, or tap your Mac in the app and click Allow on the Mac. Tap-to-pair works like Bluetooth's numeric comparison: both screens show the same six-digit number, derived from an X25519 key exchange that the Mac commits to before it sees the iPhone's contribution. An attacker in the middle ends up with different keys on each side, so the numbers wouldn't match — and the commitment stops them from trying keys until they do.
The iPhone's Secure Enclave identity key is part of what produces those six digits, so the Mac trusts exactly that iPhone — no one can swap in a different one. If an iPhone ever connects with your code but hasn't been allowed before (for example after scanning the QR code), your Mac asks you first and shows its security key.
The pairing secret lives only in your iPhone's Keychain (this device only, not synced) and on your Mac. Remove a single iPhone from the Mac's menu, or revoke them all at once by creating a new pairing code.
Every connection, step by step
- Outer layer — TLS 1.2 with ECDHE-PSK and ChaCha20-Poly1305. A key derived from your pairing secret authenticates the connection, and an ephemeral elliptic-curve exchange gives this layer its own forward secrecy.
- Inner layer — a post-quantum handshake. Your iPhone sends a fresh X-Wing public key and its identity key. The Mac encapsulates a shared secret to it and proves two things over the whole handshake: that it knows your pairing secret (HMAC-SHA256) and that it holds its own hardware identity key (an ML-DSA-65 signature). Your iPhone checks both — and checks that it's the same Mac key it saw before — then proves the same in return. Any check failing ends the connection.
- Trusted iPhones only. Even with every proof correct, the Mac only lets in an iPhone you've allowed.
- Traffic keys. HKDF-SHA256 mixes the X-Wing secret with your pairing secret and the handshake transcript, producing a separate 256-bit key for each direction.
- Every message is sealed with AES-256-GCM and a strict counter. A message that is changed, replayed, dropped or reordered fails to decrypt, and the connection closes immediately.
Your pairing code is stretched with PBKDF2-HMAC-SHA256 (600,000 rounds) before it's used, so a recorded handshake can't be used to guess it offline.
The relay: how it works away from home
On the same network, your iPhone connects to your Mac directly. Away from home, both connect out to our relay, which simply joins the two encrypted streams. The relay never has your pairing secret or any key, so it sees only ciphertext. Like any internet service, our hosting provider (Cloudflare) sees IP addresses and how much data flows, but not what's inside. We don't log the content we forward.
On your Mac
- Someone touches your Mac while you're remote? It locks. Every click and keystroke from your iPhone is marked as coming from MacDuo X. If anyone at the Mac itself presses a key, clicks or moves the mouse while you're connected, the Mac locks immediately, your iPhone shows a warning, and only the Mac's password unlocks it.
- Locks when you leave. When your iPhone disconnects, the Mac locks itself (after a 15-second grace, so a brief 5G drop doesn't make you retype your password).
- Privacy curtain (optional). While you're connected, the Mac's own screen can show black with “In use remotely”, so no one at home can watch what you're doing. The curtain is left out of the picture sent to your iPhone, so you still see everything.
- MacDuo X Host only shares your screen and accepts input while an approved iPhone is connected. macOS asks you to allow Screen Recording and Accessibility, and you can turn either off at any time in System Settings.
- Unlocking your Mac remotely types your password onto the Mac's own login screen, through the encrypted connection. MacDuo X never stores your Mac password.
Sharing and alerts
- View only. Each allowed iPhone is either Full Control or View Only. A view-only iPhone can watch the screen and hear sound; your Mac ignores its clicks, typing, app launches and files.
- Connection alerts. Your Mac shows a notification, by name, whenever an iPhone connects, and keeps a short list of recent connections in its menu.
On your iPhone
- Require Face ID or Touch ID before connecting to a particular Mac — say, your work Mac.
- Optional Face ID / Touch ID lock for the app itself, and a privacy cover that hides your Mac's screen in the app switcher.
- Pairing secrets are stored in the Keychain with this-device-only protection.
What we can't protect against
Honesty matters here. Encryption protects your data in transit; it can't help if one end is already compromised. If someone has your unlocked iPhone with MacDuo X open (turn on the Face ID lock), knows your Mac's password, or has malware running on your Mac, they could see what you see. Keep both devices updated and protected with a passcode.
Found a problem?
We take security reports seriously and will credit researchers who report responsibly. Please reach us through the Support page.