Expand description
Signed widget packages (docs/specs/SPEC_WIDGET_SHARING_2026_10_10.md §2).
A package may carry widget.sig: an Ed25519 signature by its publisher
over its id, version and content hash. The content hash leaves
widget.sig out, so signing doesn’t change what was approved. srv pins
each publisher (the part of the id before the dot) to the first key the
user approved for it, and reports any later package of that publisher
signed by another key, or not signed, as key_changed.
Job templates share the file format and the verifier under their own signing domain (docs/specs/SPEC_JOBS_AND_TEMPLATES_2026_10_24.md §5.4): the domain’s prefix is part of the signed bytes, so a widget’s signature never passes as a template’s, or a template’s as a widget’s.
Structs§
- Domain
- What a signature is for: the prefix of the bytes it signs, and the file at the package’s root it lives in (left out of the package’s hash).
- Widget
Publisher Pin - A publisher pinned to a key, for Settings.
- Widget
Signature Info
Enums§
Constants§
- COMPUTER_
USE_ SKILL - A computer-use skill (docs/specs/SPEC_PACKS_2026_11_05.md §5): signed over
<publisher>.<id>, its version and its content hash. - JOB_
TEMPLATE - SIG_
FILE - WIDGET
Functions§
- check
- The
domain’s signature file indir:Nonewhen there is none, the publisher’s public key (base64) when it verifies, or why it doesn’t. - describe
- fingerprint
- A key as people compare it: the first 10 bytes of its SHA-256, base32,
in groups of four (
K7Q2-MZ4D-PX3A-9TWE). - publisher_
of - The publisher part of a package id (
acmeofacme.pr-dashboard). - read_
pins - The pins that read, each on its own; one this build cannot read is kept on disk by
write_pins. - signed_
message - The bytes a publisher signs for a package of
domain. - verify_
text - Check signature text already read (an imported skill’s
skill.sig): the publisher’s public key when it verifies. - write_
pins - Writes
pins, and keeps every pin already on disk that this build cannot read, exactly as it was. - write_
pins_ removing write_pinsfor forgettingremoved: dropped from the file even when this build cannot read it.
Type Aliases§
- Pins
- publisher → public key (base64).