Refuse to load unprotected private keys.
authorAndre Noll <maan@systemlinux.org>
Sat, 5 Sep 2009 11:56:20 +0000 (13:56 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 5 Sep 2009 11:56:20 +0000 (13:56 +0200)
commit3852121ecd25d74d4b4c5e7a63771c55a85ce4bc
tree933447edff7dd09e0264921c24860c502f4e6844
parent153bf6c6f74b8c951a8b2a13b0224f460148531e
Refuse to load unprotected private keys.

When loading a private key owned by the same user that accesses the key, check
the permissions of the key file. Error out if mode & 077 is non-zero.
crypt.c
error.h