Weave documentation
Weave Dht

Records and Envelopes

A DidEnvelope combines document, sequence/history, controller, and proof fields.

Workflow and current contract

A DidEnvelope combines document, sequence/history, controller, and proof fields. Canonicalization produces bytes; it does not create a signature. verify_envelope_sig verifies the supplied signature and validate_envelope applies admission rules with the configuration and optional last sequence.

Use actual verification material and a proof created by the corresponding signer. Dummy JWS strings and fabricated public-key encodings are not valid envelopes. A generic put_record call is distinct from the daemon publish route, which explicitly validates a DID envelope before submission.

Source reference

On this page