Skip to content
Cette page a été générée et traduite avec l'aide de l'IA. Si vous remarquez des inexactitudes, n'hésitez pas à contribuer. Modifier sur GitHub

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:

  1. Generate a unique device identity (Ed25519 keypair)
  2. Exchange public keys between the controller and agent
  3. Verify identity via un challenge-response protocol
  4. 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 = 30

Managing 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

Voir aussi Pages

Released under the Apache-2.0 License.