Skip to contentSkip to conversation

authorized_keys: Look for ed25519 and ecdsa keys too

PATCH New Ian Jackson 1 participant 1 message Sep 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 authorized_keys: Look for ed25519 and ecdsa keys too

---
 Osstest/TestSupport.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Osstest/TestSupport.pm +2 -1
index 6e19b28..daeb3e0 100644
@@ -2394,7 +2394,8 @@ sub authorized_keys () {
     my $authkeys= '';
     my @akf= map {
         "$ENV{'HOME'}/.ssh/$_"
-        } qw(authorized_keys id_dsa.pub id_rsa.pub);
+        } qw(authorized_keys id_dsa.pub id_rsa.pub
+	     id_ed25519.pub id_ecdsa.pub);
     push @akf, split ':', $c{AuthorizedKeysFiles};
     push @akf, $c{TestHostKeypairPath}.'.pub';
     foreach my $akf (@akf) {
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel