diff --git a/cmd/flux/create_secret_git.go b/cmd/flux/create_secret_git.go index c0ee8dff..0e6d7106 100644 --- a/cmd/flux/create_secret_git.go +++ b/cmd/flux/create_secret_git.go @@ -105,7 +105,7 @@ func init() { func NewSecretGitFlags() secretGitFlags { return secretGitFlags{ - keyAlgorithm: flags.PublicKeyAlgorithm(sourcesecret.RSAPrivateKeyAlgorithm), + keyAlgorithm: flags.PublicKeyAlgorithm(sourcesecret.ECDSAPrivateKeyAlgorithm), rsaBits: 2048, ecdsaCurve: flags.ECDSACurve{Curve: elliptic.P384()}, }