Skip to content

Resolve G404 use of weak random number generator lint errors #808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
austinvazquez opened this issue Mar 14, 2025 · 1 comment
Open

Resolve G404 use of weak random number generator lint errors #808

austinvazquez opened this issue Mar 14, 2025 · 1 comment

Comments

@austinvazquez
Copy link
Contributor

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
Copy link
Contributor Author

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

    - G404 # Use of weak random number generator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant