From 24171564e63d4072b2eeeb3e4dad7d2b231b31ec Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Fri, 14 Aug 2015 17:24:17 +0530 Subject: minor typo in pattern... note that this does not affect anything, since the 6 extra characters that would be matched are not part of the base64 character set anyway, so they should not be *produced* by your ssh-keygen. thanks to 'ayekat' on irc pointing me to a comment on the commit on github. (Please don't put stuff on github and expect me to find it; I prefer plain old email because -- among other things -- I don't want to insist that you have a github account in order to discuss gitolite). --- src/commands/sshkeys-lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/sshkeys-lint b/src/commands/sshkeys-lint index 374bdb8..c7f0c81 100755 --- a/src/commands/sshkeys-lint +++ b/src/commands/sshkeys-lint @@ -163,7 +163,7 @@ sub fprint { # dbg("fp = $fp"); close $fh; unlink $tempfn if $tempfn; - warn "$fp\n" unless $fp =~ /([0-9a-f][0-9a-f](:[0-9a-f][0-9a-f])+)/ or $fp =~ m(SHA256:([A-ZA-z0-9+/]+)); + warn "$fp\n" unless $fp =~ /([0-9a-f][0-9a-f](:[0-9a-f][0-9a-f])+)/ or $fp =~ m(SHA256:([A-Za-z0-9+/]+)); return $1; } -- cgit v1.2.3-65-gdbad