Expand description
Device pairing orchestration over ephemeral ECDH sessions. Device pairing orchestration.
Business logic for validating pairing codes, verifying sessions, and creating device attestations. All presentation concerns (spinners, passphrase prompts, console output) remain in the CLI.
Structs§
- Decrypted
Pairing Response - Decrypted pairing response payload from the responding device.
- Pairing
Attestation Params - Parameters for creating a pairing attestation.
- Pairing
Session Params - Parameters for initiating a new pairing session.
- Pairing
Session Request - The result of building a pairing session request.
Enums§
- Pairing
Completion Result - Outcome of a completed pairing operation.
- Pairing
Error - Errors from pairing operations.
Functions§
- build_
pairing_ session_ request - Build a pairing session and its registry registration payload.
- complete_
pairing_ from_ response - Complete a pairing operation from a decrypted device response.
- create_
pairing_ attestation - Create a signed device attestation for a paired device.
- load_
controller_ did - Load the controller DID from a pre-initialized identity storage adapter.
- validate_
short_ code - Validate and normalize a pairing short code.
- verify_
device_ did - Verify that a derived device DID matches the claimed DID.
- verify_
session_ status - Verify that a pairing session is in the correct state for pairing.