DragonFly commits List (threaded) for 2010-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: Add sha256/512 support to libcrypt, change default
commit 6737f3b945f8531f8d5934dfaad3b4bb4a48b739
Author: Nolan Lum <nol888@gmail.com>
Date: Wed Dec 1 16:49:53 2010 -0500
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
Summary of changes:
etc/login.conf | 2 +-
lib/libcrypt/Makefile | 7 ++-
lib/libcrypt/crypt-sha256.c | 120 ++++++++++++++++++++++++++++++++++++
lib/libcrypt/crypt-sha512.c | 108 ++++++++++++++++++++++++++++++++
lib/libcrypt/crypt.3 | 10 +++-
lib/libcrypt/crypt.c | 10 +++
lib/libcrypt/crypt.h | 4 +
lib/pam_module/pam_unix/pam_unix.c | 2 +-
8 files changed, 258 insertions(+), 5 deletions(-)
create mode 100644 lib/libcrypt/crypt-sha256.c
create mode 100644 lib/libcrypt/crypt-sha512.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6737f3b945f8531f8d5934dfaad3b4bb4a48b739
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]