Skip to main content

Module fetch

Module fetch 

Source
Expand description

Unconsented attachment/embed/LIG fetches must not disclose locators (NET-05.19).

Group membership and payment are not private-message consent. authorize_fetch never writes locator bytes. Reveal is a second step and copies only an adapter-observed ObservedLocator after a valid FetchHandle. Packages remain open.

Structs§

FetchHandle
Capability token issued only after consent and Allow-equivalent contact.
FetchRequest
Fetch intent. group_member and paid cannot substitute for private_consent.

Enums§

FetchKind
Attachment, embed, and LIG fetches share the same private-consent gate.

Functions§

authorize_fetch
Authorize an attachment/embed/LIG fetch. Never writes out_locator.
group_admission_implies_private_consent
Group admission is not private-message consent.
reveal_locator
Same as reveal_observed. Reveal is never combined with authorize.
reveal_observed
Copy src into out only after a valid handle. Invalid handle: out unchanged.
unconsented_fetch_discloses_locator
Unconsented fetch must not copy locator or location bytes into caller buffers.