Skip to content

Commit

Permalink
openssh 6.8 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaramc committed Mar 19, 2015
1 parent 8e36230 commit ed807a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/triggers/post-compile/ssh-authkeys
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ sub fp_file {
my $f = shift;
my $fp = `ssh-keygen -l -f '$f'`;
chomp($fp);
_die "fingerprinting failed for '$f'" unless $fp =~ /([0-9a-f][0-9a-f](:[0-9a-f][0-9a-f])+)/;
_die "fingerprinting failed for '$f'" unless $fp =~ /([0-9a-f][0-9a-f](:[0-9a-f][0-9a-f])+)/ or $fp =~ m(SHA256:([A-ZA-z0-9+/]+));
$fp = $1;
return $fp;
}
Expand Down

0 comments on commit ed807a4

Please sign in to comment.