Set ECDSA as the default algorithm for `flux create secret git`

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/2041/head
Stefan Prodan 3 years ago
parent 88dacebc94
commit 4f2ebd78be
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -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()},
}

Loading…
Cancel
Save