make default key type RSA instead of DSA
This commit is contained in:
parent
522d122858
commit
b4f68767a3
|
@ -37,7 +37,7 @@ func (s *StepSSHKeyGen) Run(ctx context.Context, state multistep.StateBag) multi
|
|||
|
||||
algorithm := s.SSHTemporaryKeyPair.SSHTemporaryKeyPairType
|
||||
if algorithm == "" {
|
||||
algorithm = sshkey.DSA.String()
|
||||
algorithm = sshkey.RSA.String()
|
||||
}
|
||||
a, err := sshkey.AlgorithmString(algorithm)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue