From 8e7828494a51ec7b31d9e1b96eb01f47c07b7d76 Mon Sep 17 00:00:00 2001 From: Travis Bischel Date: Fri, 20 Oct 2023 19:15:46 -0600 Subject: [PATCH] gosec no longer lints this hardcoded sha --- pkg/sasl/aws/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sasl/aws/aws.go b/pkg/sasl/aws/aws.go index 685e1d7b..89f9cc33 100644 --- a/pkg/sasl/aws/aws.go +++ b/pkg/sasl/aws/aws.go @@ -201,7 +201,7 @@ func task1(host, qps string) []byte { // Finally, we add our empty body. // // HexEncode(Hash(RequestPayload)) - const emptyBody = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" //nolint:gosec // this is a defined constant hash of an empty body + const emptyBody = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" return append(canon, emptyBody...) }