firecracker-containerd icon indicating copy to clipboard operation
firecracker-containerd copied to clipboard

Resolve G404 use of weak random number generator lint errors

Open austinvazquez opened this issue 9 months ago • 1 comments

Resolve the following error:

Error: runtime/service.go:70:2: G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)

austinvazquez avatar Mar 14 '25 20:03 austinvazquez

Success criteria is this line can be removed from .golangci.yml

    - G404 # Use of weak random number generator

austinvazquez avatar Mar 14 '25 21:03 austinvazquez