feat: scoped evidence and explicit attestation signatures v0.1#9
Merged
Conversation
Closes #6. Align evidence with the registry-facing vocabulary used by Modulora: publisher-identity, domain-verified, content-integrity, and install-parity (early owner-verified remains readable for v0 compatibility). Add structured subject and coverage so a scoped check cannot be widened into a generic badge; add optional expiry and require limitations for scans, builds, human review, and unassessed source. Make the signature boundary explicit: attestationDigest covers the canonical attestation statement excluding signature/transparencyLog; signature.payload must declare attestationDigest. releaseDigest alone only identifies artifact bytes. RFC 0002 specifies consumer behavior and digest independence. Fixtures cover domain subject enforcement, install-command parity coverage, human-review limitations, and wrong signed payloads. 32/32 tests pass. Signed-off-by: Justin Levine <20596508+jal-co@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Aligns evidence with Modulora's canonical registry-facing vocabulary, adds structured subject/coverage/expiry, tightens limitation requirements, and makes the attestation signature boundary explicit through attestationDigest + signature.payload.
Why
Closes #6. Evidence must remain scoped and limitation-aware; a release digest alone does not bind publisher authorization or the full attestation statement.
Compatibility
Testing
32/32 tests pass, including domain subject mismatch, install-parity command coverage, missing human-review limitations, generic verified rejection, and wrong signature payload.
Screenshots
n/a