Skip to main content

DeviceAuth

Defined in the protocols module.
AI Agent Device-identity proof carried in a hello frame. Attributes: device_id: Fingerprint of public_key (see :func:device_id_from_public_key). public_key: Standard base64 (padded) of the device’s raw public key. signature: Standard base64 (padded) signature over :meth:signing_payload. signed_at: Integer Unix seconds at which the device signed the challenge (an integer so every client language renders identical signed bytes). nonce: The server-issued challenge nonce being answered.

Properties

str
No description available.
str
No description available.
str
No description available.
int
No description available.
str
No description available.

Methods

signing_payload()

Canonical bytes the device signs and the gateway verifies.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 373