diff --git a/internal/security/credz/credz.go b/internal/security/credz/credz.go index 3f8c8fe4a2a..909cbadff41 100644 --- a/internal/security/credz/credz.go +++ b/internal/security/credz/credz.go @@ -536,7 +536,8 @@ func createHibaKeysGen(t *testing.T, hibaCa, hibaGen, keysDir string) { hibaCa, "-c", "-d", keysDir, // output to the temp dir - "--", // pass the rest to ssh-keygen + "--", // pass the rest to ssh-keygen + "-t", "ed25519", // force ED25519 key type "-q", "-N", "", // quiet, empty passphrase ) @@ -551,6 +552,7 @@ func createHibaKeysGen(t *testing.T, hibaCa, hibaGen, keysDir string) { "-d", keysDir, "-u", "-I", userKey, "--", + "-t", "ed25519", "-q", "-N", "", ) err = userKeyCmd.Run() @@ -564,6 +566,7 @@ func createHibaKeysGen(t *testing.T, hibaCa, hibaGen, keysDir string) { "-d", keysDir, "-h", "-I", dutKey, "--", + "-t", "ed25519", "-q", "-N", "", ) err = dutKeyCmd.Run()