Device Pairing
PRX utilise a device pairing model to authenticate agent instances et establish trust between nodes. Pairing garantit that uniquement authorized devices can connect to et control l'agent.
Apercu
The pairing process:
- Generate a unique device identity (Ed25519 keypair)
- Exchange public keys between the controller and agent
- Verify identity via un challenge-response protocol
- Establish an encrypted communication channel
Pairing Flow
Controller Agent
│ │
│──── Pairing Request ─────►│
│ │
│◄─── Challenge ───────────│
│ │
│──── Signed Response ─────►│
│ │
│◄─── Pairing Confirmed ───│Configuration
toml
[security.pairing]
require_pairing = true
max_paired_devices = 5
challenge_timeout_secs = 30Managing Paired Devices
bash
prx pair list # List paired devices
prx pair add # Start pairing flow
prx pair remove <id> # Remove a paired device
prx pair revoke-all # Revoke all pairings