From 4827d9edb81792452f1d82708778638acefc77c7 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Wed, 8 Feb 2023 14:59:07 -0600 Subject: [PATCH] fix: increase generated password length resolve flake (#6116) --- cli/usercreate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/usercreate.go b/cli/usercreate.go index dd65282202..203686d6ff 100644 --- a/cli/usercreate.go +++ b/cli/usercreate.go @@ -53,7 +53,7 @@ func userCreate() *cobra.Command { } } if password == "" { - password, err = cryptorand.StringCharset(cryptorand.Human, 12) + password, err = cryptorand.StringCharset(cryptorand.Human, 20) if err != nil { return err }