Skip to content

Commit acd4db9

Browse files
fix: removing dsa as it's unsecure, adding ecdsa
1 parent 672a72f commit acd4db9

File tree

1 file changed

+1
-1
lines changed
  • internal/namespaces/account/v2alpha1

1 file changed

+1
-1
lines changed

internal/namespaces/account/v2alpha1/custom.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func InitRun(ctx context.Context, argsI interface{}) (i interface{}, e error) {
4242
var shortenedFilename string
4343
var err error
4444
var localSSHKeyContent []byte
45-
for _, keyName := range [3]string{"id_dsa.pub", "id_ed25519.pub", "id_rsa.pub"} {
45+
for _, keyName := range [3]string{"id_ecdsa.pub", "id_ed25519.pub", "id_rsa.pub"} {
4646
// element is the element from someSlice for where we are
4747
relativePath := path.Join(".ssh", keyName)
4848
filename := path.Join(core.ExtractUserHomeDir(ctx), relativePath)

0 commit comments

Comments
 (0)