Weave documentation
Weave Identity Ed25519

Internals

Parser configuration, in-memory custody, and metadata-based control checks.

Configuration and storage

Ed25519AdapterConfig has optional did_parser and did_formatter callbacks. The builder supplies with_did_parser, with_did_formatter and build. The declared PermissionChecker type is not wired into this configuration or its builder; it is not an active authorization hook.

store_identity(did, public_key, controller, metadata) requires a 32-byte public key and records metadata. store_keypair(signing_key, identity_id) stores a signer in the adapter's local map. These calls do not provision durable or hardware-backed key custody.

verify resolves the public key from the local identity map and checks an Ed25519 signature. parse_identity uses the configured parser and locally stored metadata. Identity format support and public-key recovery must match the configured adapter; changing a formatter alone does not establish a new interoperable identity method.

DelegationCertificate belongs to weave_identity::ed25519_adapter, not this package. Its constructor requires subject and issuer Identity values and the issuer KeyPair; it does not accept arbitrary issuer/subject strings and an adapter.

Source reference

Exact declarations and source provenance · Package features and manifest.

On this page