puppetlabs/mcollective-sshkey-security — pull request #4 by jengels (2014-09-22 07:20:40+00:00)
Title: Fixed bug in find_key_in_known_hosts

This patch fixes a bug where the incorrect key is found if you have one (or more) hostnames which themselves include the names of other hosts, e.g.: host1, host11, host111, ... hostA, hostAA, ...