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

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

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

Loading…
Cancel
Save