Skip to content

Commit

Permalink
skip check for md5 usage that does not need to be secure
Browse files Browse the repository at this point in the history
  • Loading branch information
dhontecillas committed Sep 18, 2024
1 parent 9ee95df commit 6e35e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func Parse(l logging.Logger, e config.ExtraConfig, namespace string) (Config, er
return res, ErrWrongChecksumType(source)
}
content, _ := res.SourceLoader.Get(source)
hash := md5.New()
hash := md5.New() // skipcq: GO-S1023, GSC-G401
if _, err := io.Copy(hash, bytes.NewBuffer([]byte(content))); err != nil {
return res, err
}
Expand Down

0 comments on commit 6e35e7d

Please sign in to comment.