diff --git a/cmd/flux/create_source_git.go b/cmd/flux/create_source_git.go index 3b987f71..f2c6b918 100644 --- a/cmd/flux/create_source_git.go +++ b/cmd/flux/create_source_git.go @@ -143,7 +143,7 @@ func init() { func newSourceGitFlags() sourceGitFlags { return sourceGitFlags{ - keyAlgorithm: flags.PublicKeyAlgorithm(sourcesecret.RSAPrivateKeyAlgorithm), + keyAlgorithm: flags.PublicKeyAlgorithm(sourcesecret.ECDSAPrivateKeyAlgorithm), keyRSABits: 2048, keyECDSACurve: flags.ECDSACurve{Curve: elliptic.P384()}, }