aboutsummaryrefslogtreecommitdiff
path: root/lib/libcrypt
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'BETA_2_0'.cvs2svn1994-11-211-15/+15
| | | | Notes: svn path=/releng/BETA_2_0/; revision=4743
* *** ATTENTION *** YOU MIGHT BE ABOUT TO BE HOSED *** ATTENTION ***Poul-Henning Kamp1994-11-072-156/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This effectively changes the non-DES password algoritm. If you have the "securedist" installed you will have no problems with this. (Though you might want to consider using this password-encryption instead of the DES-based if your system is likely to be hacked) If you are running a -current system without the "securedist" installed: YOU WILL NEED TO CHANGE ALL PASSWORDS !! There is no backwards mode. Suggested procedure is: Update your sources cd /usr/src/lib/libcrypt make clean make all make install passwd root <set roots new password> change password for any other users on the system. This algorithm is expected to be much better than the traditional DES- based algorithm. It uses the MD5 algorithm at what it is best at, as opposed to the DES algorithm at something it isn't good at at all. The algorithm is designed such that it should very hard to shortcut the calculations needed to build a dictionary, and to make partial knowledge (Hmm, his password starts with a 'P'...) useless. Of course if somebody breaks the MD5 algorithm this looses too. The salt is 48 bits (8 char @ base64). The encrypted password is 128 bits. And I am positively delighted to say that it takes 34 msec to crypt() a password on a Pentium/60Mhz, so building a dictionary is not really an option for hackers at the moment. Notes: svn path=/head/; revision=4246
* Fix afterinstall rule for generating links to the real libcryptGeoff Rehmet1994-08-201-7/+13
| | | | | | | Submitted by: geoff Notes: svn path=/head/; revision=2155
* Fix afterinstall rule for NOSHARED caseGeoff Rehmet1994-08-121-1/+6
| | | | | | | Submitted by: Geoff Rehmet Notes: svn path=/head/; revision=2045
* The password scrambler now becomes libscrypt, and libcrypt isGeoff Rehmet1994-08-091-0/+19
| | | | | | | | a symlink to it. (The real libcrypt will be installed as libdescrypt.) Submitted by: Geoff. Notes: svn path=/head/; revision=1989
* Nates password scrambler, from FreebSD 1.1.5, but with everything except Geoff Rehmet1994-08-092-0/+193
crypt() ripped out Reviewed by: Geoff Rehmet Submitted by: Nate Williams Notes: svn path=/cvs2svn/branches/natecrypt/; revision=1984