2024-09-08 15:28:22: merge [master:33b4e2d9651dc592eae18e258984b11b35cc0a5e];
This commit is contained in:
1 parent
6f45b1861f
commit
02df1a6546
36 files changed
+653
-3262
No files matched your search
@@ -15,7 +15,7 @@ func NewTokenSource() TokenSource {
|
||||
}
|
||||
|
||||
func (s TokenSource) CreateApplicationToken() (string, error) {
|
||||
cryptoRand := make([]byte, 128) //nolint:gomnd
|
||||
cryptoRand := make([]byte, 128) //nolint:mnd
|
||||
_, err := rand.Read(cryptoRand)
|
||||
if err != nil {
|
||||
return "", errors.WithMessage(err, "crypto/rand read")
|
||||
|
||||
Reference in new issue
Block a user