convox / convox

Random number generator seed doesn't have enough entropy GO-S1033
Security
Major
11 days agoa year old
Time based seeds have insufficient entropy
 39var _ structs.Provider = &Client{}
 40
 41func init() {
 42	rand.Seed(time.Now().UTC().UnixNano()) 43}
 44
 45func New(endpoint string) (*Client, error) {
Time based seeds have insufficient entropy
 79}
 80
 81func init() {
 82	rand.Seed(time.Now().Unix()) 83}
 84
 85func FromEnv() (*Provider, error) {
Time based seeds have insufficient entropy
 38}
 39
 40func init() {
 41	rand.Seed(time.Now().UnixNano()) 42}
 43
 44func Load(data []byte, env map[string]string) (*Manifest, error) {
Time based seeds have insufficient entropy
 24type Receiver chan Log
 25
 26func init() {
 27	rand.Seed(time.Now().UTC().UnixNano()) 28}
 29
 30func New() Store {