Check all keys in files in /etc/ssh/userkeys and /var/lib/misc/userkeys,
not just the first. (Also doesn't blow up if a file is empty.)
* add dsa-check-dnssec-delegation.
* dsa-check-hpasm: Add --fan-high to not tread high fan speeds as a
warning condition.
+ * weak-ssh-keys-check: Check all keys in files in /etc/ssh/userkeys
+ and /var/lib/misc/userkeys, not just the first. (Also doesn't
+ blow up if a file is empty.)
- -- Peter Palfrader <weasel@debian.org> Sat, 20 Feb 2010 09:44:13 +0100
+ -- Peter Palfrader <weasel@debian.org> Mon, 22 Feb 2010 10:31:24 +0100
dsa-nagios-checks (84) unstable; urgency=low
my $name = shift;
if (open (my $FH, '<', $name)) {
my $key = <$FH>;
+ close($FH);
if (! defined $key) {
$weird_keyfiles++;
$text .= "cannot read $name properly - empty?\n";
for my $file (grep { ! -d $d.'/'.$_ } readdir(D)) {
next if ($file eq 'README-DSA-BUILDD');
my $f = $d.'/'.$file;
- from_ssh_key_file $f if -r $f;
+ from_ssh_auth_file $f if -r $f;
};
};
}