Skip to main content

Module trust

Module trust 

Source
Expand description

Who trusted which extension’s bytes: entries extension:<name> in the hooks’ trust record, holding the digest, the files and the contributions the person saw — so a changed extension shows what changed and what widened.

Functions§

apply_flags
Trusts the extensions flags name, each only at its current digest (via = ci).
changes
What changed since e was last trusted; None when never trusted or unchanged.
key
The trust record’s key for name.
parse_flag
--trust-extension name=sha256:…, split.
record
Records that by trusted e as it is now, through via.
state
Whether e may run, as it is now.