pion / .goassets

Asset files automatically deployed to Go package repositories
https://pion.ly/
MIT License
9 stars 10 forks source link

Assert import "math/rand" has comment why it is used (ensure it is not used for crypto) #32

Closed at-wat closed 1 year ago

at-wat commented 4 years ago

https://github.com/pion/ice/pull/210#issuecomment-650551349

stv0g commented 1 year ago

We are now using golangci-lint which uses the gosec linter. The gosec linter has the following rule which checks against insecure uses of math/rand:

G404: Insecure random number source (rand)