mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-27 02:41:26 +08:00
change key size
This commit is contained in:
@@ -206,7 +206,7 @@ func initializeUUID() error {
|
||||
} else if len(records) > 0 {
|
||||
return nil
|
||||
}
|
||||
var rsaPrivKey, keyErr = rsa.GenerateKey(rand.Reader, 32)
|
||||
var rsaPrivKey, keyErr = rsa.GenerateKey(rand.Reader, 2048)
|
||||
if keyErr != nil {
|
||||
return keyErr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user