Add Justifications for Gosec Ignored (#10005)

* pin gosec

* edit

* go back to master

* justifications

* Update crypto/bls/blst/signature.go

* proper format

* gosec
This commit is contained in:
Raul Jordan
2021-12-09 14:40:48 -05:00
committed by GitHub
parent 00c3a7dcaf
commit b381ad49b5
12 changed files with 26 additions and 28 deletions

View File

@@ -27,7 +27,7 @@ var (
// execShellOutputFunc passes a command and args to exec.CommandContext and returns the result as a string
func execShellOutputFunc(ctx context.Context, command string, args ...string) (string, error) {
result, err := exec.CommandContext(ctx, command, args...).Output() /* #nosec G204 */
result, err := exec.CommandContext(ctx, command, args...).Output() // #nosec G204
if err != nil {
return "", errors.Wrap(err, "error in command execution")
}