git: Add sha256/512 support to libcrypt, change default

看板DFBSD_commit作者時間15年前 (2010/12/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1C-J1hOb (DFBSD_commit)