From a9e8ec25fdbde8bbf80c0cce9043326179102539 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2026 09:21:57 +0000 Subject: [PATCH 1/2] build(deps): bump github.com/git-pkgs/attestation from 0.1.0 to 0.2.0 Bumps [github.com/git-pkgs/attestation](https://github.com/git-pkgs/attestation) from 0.1.0 to 0.2.0. - [Commits](https://github.com/git-pkgs/attestation/compare/v0.1.0...v0.2.0) --- updated-dependencies: - dependency-name: github.com/git-pkgs/attestation dependency-version: 0.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b6b3d58..5a4d570 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.27.4 require ( github.com/git-pkgs/archives v0.11.0 - github.com/git-pkgs/attestation v0.1.0 + github.com/git-pkgs/attestation v0.2.0 github.com/git-pkgs/cooldown v0.3.1 github.com/git-pkgs/forge v0.11.0 github.com/git-pkgs/integrity v0.2.0 diff --git a/go.sum b/go.sum index 2030b48..348a7e9 100644 --- a/go.sum +++ b/go.sum @@ -94,8 +94,8 @@ github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeO github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE= github.com/git-pkgs/archives v0.11.0 h1:ovCoyIZhbTZB5/GOgJIGB4y4yT0oHo1IvM4LbM4UEM0= github.com/git-pkgs/archives v0.11.0/go.mod h1:whtYzdsMLufW+aNoGcGSip/FC0NsiJhaqiZBxSe9AUc= -github.com/git-pkgs/attestation v0.1.0 h1:aj10Ls05zHWPL7114r0Se8RKC/w8tJgfnzh3dU1mAuM= -github.com/git-pkgs/attestation v0.1.0/go.mod h1:NSctZpcwmxCiTQ6z3b4X6SCT2N7fQtuPXvizkRgPgBU= +github.com/git-pkgs/attestation v0.2.0 h1:YPPVCHSVXSNI/bBz2EHQuyga9e+cgY999qoHJmxXna4= +github.com/git-pkgs/attestation v0.2.0/go.mod h1:OLKWCBUxHILA9iscUfOME7hiHtuJmiUrkP2kCPHSyVs= github.com/git-pkgs/cooldown v0.3.1 h1:XDt54+ZuYoJclTLysaQ2GUZPhYYuJdjpaqeLSwjMdto= github.com/git-pkgs/cooldown v0.3.1/go.mod h1:FnTg8wufEALATC9Sm/9AHjLdA+u9eVn96e9BqXXjGB0= github.com/git-pkgs/forge v0.11.0 h1:Tpp8WXB4Brb9IRfx/BosLCVJJclOJ2CpBBvNdf2FwRs= From 95e58eb25c912f677f649bd750db10e90c413125 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Mon, 23 Nov 2026 11:52:45 +0000 Subject: [PATCH 2/2] Add in-toto statement type to forge attestation fixture --- source/forge/verifier_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/source/forge/verifier_test.go b/source/forge/verifier_test.go index 97a5c92..aabb18f 100644 --- a/source/forge/verifier_test.go +++ b/source/forge/verifier_test.go @@ -36,6 +36,7 @@ func (f *fakeVerifier) VerifyBundle(_ context.Context, body []byte, alg string, func buildSLSABundle(t *testing.T) []byte { t.Helper() stmt := map[string]any{ + "_type": "https://in-toto.io/Statement/v1", "predicateType": "https://slsa.dev/provenance/v1", "predicate": map[string]any{ "buildDefinition": map[string]any{