DragonFly commits List (threaded) for 2011-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_2_10 pam_ssh: pam_ssh: Don't allow a bogus passphrase for unencrypted keys.
commit 8fb0265f25056f0ed8876d25b5f4598181ed46c4
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date: Sat Dec 24 13:21:07 2011 -0800
pam_ssh: pam_ssh: Don't allow a bogus passphrase for unencrypted keys.
key_load_private() ignores the passphrase argument if the private
key is unencrypted. This defeats the nullok check, because it means
a non-null passphrase will successfully unlock the key.
Obtained-From: FreeBSD
Summary of changes:
lib/pam_module/pam_ssh/pam_ssh.c | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8fb0265f25056f0ed8876d25b5f4598181ed46c4
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]