diff options
author | 2012-05-17 16:06:03 +0000 | |
---|---|---|
committer | 2012-05-17 16:06:03 +0000 | |
commit | b4519f776a4d83e2a4707da8381398099f5f8e5e (patch) | |
tree | 1fd6fbe12cc557ce8079559f969e239a99a54317 | |
parent | add I350 (diff) | |
download | wireguard-openbsd-b4519f776a4d83e2a4707da8381398099f5f8e5e.tar.xz wireguard-openbsd-b4519f776a4d83e2a4707da8381398099f5f8e5e.zip |
Also check permissions of .ssh/id_ecdsa.
ok schwarze@
-rw-r--r-- | libexec/security/security | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/security/security b/libexec/security/security index 5e2248813d4..1060bcd72bd 100644 --- a/libexec/security/security +++ b/libexec/security/security @@ -1,6 +1,6 @@ #!/usr/bin/perl -T -# $OpenBSD: security,v 1.17 2011/07/20 21:02:19 schwarze Exp $ +# $OpenBSD: security,v 1.18 2012/05/17 16:06:03 pascal Exp $ # # Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> # Copyright (c) 2011 Andrew Fresh <andrew@afresh1.com> @@ -400,7 +400,8 @@ sub check_dot_readable { return if $name =~ /^[+-]/; # skip YP lines foreach my $f qw( .netrc .rhosts .gnupg/secring.gpg .gnupg/random_seed - .pgp/secring.pgp .shosts .ssh/identity .ssh/id_dsa .ssh/id_rsa + .pgp/secring.pgp .shosts .ssh/identity .ssh/id_dsa .ssh/id_ecdsa + .ssh/id_rsa ) { next unless -e "$home/$f"; my ($mode, $fuid) = (stat(_))[2,4]; |