]> granicus.if.org Git - linux-pam/commit
pam_unix: Add crypt_default method, if supported.
authorBjörn Esser <besser82@fedoraproject.org>
Thu, 15 Nov 2018 15:57:35 +0000 (16:57 +0100)
committerTomáš Mráz <t8m@users.noreply.github.com>
Tue, 27 Nov 2018 10:43:51 +0000 (11:43 +0100)
commitad435b386b22b456724dc5c5b8d9f2d1beffc558
tree9062bcb5e33a8038b34437e29cd5c48c4bf823c2
parent619f19d378529defa5864941caf8c4233aef46f5
pam_unix: Add crypt_default method, if supported.

libxcrypt since v4.4.0 supports a default method for its
gensalt function on most system configurations.  As the
default method is to be considered the strongest available
hash method, it should be preferred over all other hash
methods supported by pam.

* modules/pam_unix/pam_unix.8.xml: Documentation for crypt_default.
* modules/pam_unix/passverify.c: Add crypt_default method.
* modules/pam_unix/support.h: Likewise.
modules/pam_unix/pam_unix.8.xml
modules/pam_unix/passverify.c
modules/pam_unix/support.h