mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-16 00:35:43 +00:00
Restore default key algorithm flag create source
This was removed by accident in the PR that introduced the new `manifestgen` packages, and now restored in full glory. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
80419f00db
commit
ed93e93b81
3 changed files with 3 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ func init() {
|
|||
|
||||
func NewSecretGitFlags() secretGitFlags {
|
||||
return secretGitFlags{
|
||||
keyAlgorithm: "rsa",
|
||||
keyAlgorithm: flags.PublicKeyAlgorithm(sourcesecret.RSAPrivateKeyAlgorithm),
|
||||
rsaBits: 2048,
|
||||
ecdsaCurve: flags.ECDSACurve{Curve: elliptic.P384()},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ func init() {
|
|||
|
||||
func newSourceGitFlags() sourceGitFlags {
|
||||
return sourceGitFlags{
|
||||
keyAlgorithm: flags.PublicKeyAlgorithm(sourcesecret.RSAPrivateKeyAlgorithm),
|
||||
keyRSABits: 2048,
|
||||
keyECDSACurve: flags.ECDSACurve{Curve: elliptic.P384()},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue