Add sha256/512 support to libcrypt, change default
authorNolan Lum <nol888@gmail.com>
Wed, 1 Dec 2010 21:49:53 +0000 (16:49 -0500)
committerAlex Hornung <ahornung@gmail.com>
Fri, 3 Dec 2010 14:23:51 +0000 (14:23 +0000)
commit6737f3b945f8531f8d5934dfaad3b4bb4a48b739
tree3e031a268e6db1c65446585f3ee0fc41bc9d7a51
parent1fcd0ba2bee231ffad374d52197e61fecd6cef32
Add sha256/512 support to libcrypt, change default

* Add sha256 and sha512 support to libcrypt.

* Change the default password hash to sha256.

* All old passwords will of course still works, but all new ones will be
  created using sha256.

Sponsored-by: Google Code-In
etc/login.conf
lib/libcrypt/Makefile
lib/libcrypt/crypt-sha256.c [new file with mode: 0644]
lib/libcrypt/crypt-sha512.c [new file with mode: 0644]
lib/libcrypt/crypt.3
lib/libcrypt/crypt.c
lib/libcrypt/crypt.h
lib/pam_module/pam_unix/pam_unix.c