]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
authorized_keys: Look for ed25519 and ecdsa keys too
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 1 Sep 2017 16:55:26 +0000 (17:55 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 1 Sep 2017 16:55:26 +0000 (17:55 +0100)
Reported-by: George Dunlap <George.Dunlap@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Osstest/TestSupport.pm

index 6e19b28a24196fb0b031b7e969d86161dca2d9e6..daeb3e0498cd37e2e80f341ef896150f3e74bfeb 100644 (file)
@@ -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) {