Skip to content

Commit

Permalink
gosec no longer lints this hardcoded sha
Browse files Browse the repository at this point in the history
  • Loading branch information
twmb committed Oct 21, 2023
1 parent 5cfb6a5 commit 8e78284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sasl/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}

Expand Down

0 comments on commit 8e78284

Please sign in to comment.