trust: the verifying half of publisher signatures (own module)

Moved from yet/internal/trust, behavior and file formats unchanged, so
yacota (images) checks against the same trust-policy.json and
known-keys.json as yet (packages): the signature payload and its check
(Verify over fetched referrers), known keys with TOFU pinning
(Reconcile; refusals are ErrRefused), the trust policy (Evaluate,
AllowsCapability), Curated, Pinned and Home (yet's data directory).
Signing, key storage and the registry side stay in yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
terminarandClaude Opus 5.5 committed 2026-11-12 16:27:35 +01:00
1 parent 764b6f36ea
commit 35f8b7d18a
11 files changed
+1921 -3

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
module yetano.dev/yetano/core/trust
go 1.26.0
require (
aead.dev/minisign v0.3.0
yetano.dev/yetano/core v0.11.0
)
require (
golang.org/x/crypto v0.58.0 // indirect
golang.org/x/sys v0.49.0 // indirect
)