mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-08-18 19:18:16 +00:00
feat: Rename verifySubjectDigest function (#712)
closes https://github.com/slsa-framework/slsa-verifier/issues/711 Signed-off-by: laurentsimon <laurentsimon@google.com>
This commit is contained in:
@@ -1674,7 +1674,7 @@ func Test_runVerifyNpmPackage(t *testing.T) {
|
||||
name: "invalid signature provenance npm CLI",
|
||||
artifact: "provenance-npm-test-cli-v02-prega-invalidsigprov.tgz",
|
||||
source: "github.com/laurentsimon/provenance-npm-test",
|
||||
pkgName: PointerTo("@laurentsimon/provenance-npm-test2"),
|
||||
pkgName: PointerTo("@laurentsimon/provenance-npm-test"),
|
||||
builderID: PointerTo("https://github.com/actions/runner/github-hosted"),
|
||||
err: serrors.ErrorInvalidSignature,
|
||||
},
|
||||
@@ -1682,7 +1682,7 @@ func Test_runVerifyNpmPackage(t *testing.T) {
|
||||
name: "invalid signature publish npm CLI",
|
||||
artifact: "provenance-npm-test-cli-v02-prega-invalidsigpub.tgz",
|
||||
source: "github.com/laurentsimon/provenance-npm-test",
|
||||
pkgName: PointerTo("@laurentsimon/provenance-npm-test2"),
|
||||
pkgName: PointerTo("@laurentsimon/provenance-npm-test"),
|
||||
builderID: PointerTo("https://github.com/actions/runner/github-hosted"),
|
||||
err: serrors.ErrorInvalidSignature,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user