From 4b3084eb589c7ed6315e05ebb77150f923dbb279 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Fri, 10 Nov 2023 08:49:44 +0900 Subject: [PATCH] fix: update checksums of slsa-verifier --- pkg/installpackage/slsa_verifier.go | 2 +- pkg/slsa/version.go | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/installpackage/slsa_verifier.go b/pkg/installpackage/slsa_verifier.go index d2fc8b2ec..fb3d0c97a 100644 --- a/pkg/installpackage/slsa_verifier.go +++ b/pkg/installpackage/slsa_verifier.go @@ -55,7 +55,7 @@ func (sv *SLSAVerifierInstaller) installSLSAVerifier(ctx context.Context, logE * Checksums: checksum.New(), // Check slsa-verifier's checksum but not update aqua-checksums.json Pkg: pkg, Checksum: &checksum.Checksum{ - Algorithm: "sha512", + Algorithm: "sha256", Checksum: chksum, }, DisablePolicy: true, diff --git a/pkg/slsa/version.go b/pkg/slsa/version.go index b6d4db318..9d730e2ae 100644 --- a/pkg/slsa/version.go +++ b/pkg/slsa/version.go @@ -4,11 +4,11 @@ const Version = "v2.4.1" func Checksums() map[string]string { return map[string]string{ - "darwin/amd64": "532AD6FCAFB6BB0C2BFDE8887E2768A1167E4117F7FC6982017DE51517B62F5384F364309AB786180FBD16800355AA098FC0B7151789C3080DCF546F7DF64725", - "darwin/arm64": "3384F0FE905EA1555C16677E4497E99FB9ADBFC174E952AC209DA1274A7E378EF8E84FAA91F53E26F36557B6B541DEDACDB24321FA8C779DC85B58FAA5CC8E98", - "linux/amd64": "EB0B6ECF44331B8CF2FB8B41D741498F6A981A75A5676FA0AEB0A25BE8D0249181BAC03B81E4DC5FFFF2051820766B85813EDE525E23A146DBDC82EB6FE93F59", - "linux/arm64": "DDB1DCE93D24F3E6CBE3711B6AF168089223A695A6F763D23C518FD7F98D8A92CBD58A0D1D64F387374E0C1E4D73A2D2763E85928C4696405AB06ABCE12517B9", - "windows/amd64": "EB4C45C2E190DE96874574CE13263AC30B08846635EEAA12F2F8115EFA2C2342E3C63A9ADBC7B7731CA70B996419041D0F28900379A7769ADCD2C57E23849A87", - "windows/arm64": "8171943F00109454020296BF12F9A8F42B4A880B0959400111F4AE891DA26478EB6885F527D606535BE8160C7C2C71F7C6A9C48974E32B6458D90FA723B3965E", + "darwin/amd64": "69FA1EA5BB734E765AAE1FA855F50E823C2B90B019994610960B7EB3C83FEEB3", + "darwin/arm64": "CE1DE214CB5AE24DFAFCE18640A0E7C4D2FBBD014BF4B2944A0C1B7B3CFA803A", + "linux/amd64": "E81900C9F11A44276E1552AFB7C1F6EA7B13AD9C6EFDB920D97F23A76659E25F", + "linux/arm64": "8B9BCC51576A8F962A0F91F50BED8CA769563EF568A2E9997CA4CD59DC2E341A", + "windows/amd64": "CDA4A71F6E6FBFB32AA5B461B650D807503AD509145DC0DF9B68ADB9E23E674F", + "windows/arm64": "8F0B03C01271C7228E99F21C89B99C0B02DC0CC7BDCE0FE842AF1DC7554D644F", } }