Expand description
Per-agent Ed25519 identity keypair.
Loaded from <agent_home>/identity.key (private, 0600) and
<agent_home>/identity.pub (public, multibase-encoded text).
Structs§
- Agent
Identity - Chain
Options - Per-call options for
verify_chain. - Chain
Outcome - Outcome of a successful chain verification.
- Rotation
Attestation - Cryptographic proof of an identity-key rotation.
Enums§
- Chain
Error - Errors from
verify_chain. - Identity
Error - Rotation
Reason - Why a rotation happened. Free-form audit hint; does not affect verification
rules other than
Emergency, which permits an empty signature.
Functions§
- decode_
pubkey - Decode a multibase-encoded pubkey. Accepts any multibase variant.
- default_
dir - Default location:
<agent_home>/identity.{key,pub}. - encode_
pubkey - Encode an Ed25519 public key to multibase base58btc (
zprefix). - verify_
chain - Walk the chain top-to-bottom and verify it forms a valid history. Returns the head pubkey + version on success.