summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.rgrimes1995-05-302-9/+9
|
* Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of inbde1994-11-141-15/+15
| | | | | | | | | | $(DESTDIR)/$(LIBDIR) (I need SHLIBDIR. The / was a bug and the $(...) style was inconsistent.) Install ordinary libraries in ${DESTDIR}${LIBDIR} instead of in $(DESTDIR)/$(LIBDIR). Change remaining $(...) to ${...}.
* *** ATTENTION *** YOU MIGHT BE ABOUT TO BE HOSED *** ATTENTION ***phk1994-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.
* Fix afterinstall rule for generating links to the real libcryptcsgr1994-08-201-7/+13
| | | | Submitted by: geoff
* Fix afterinstall rule for NOSHARED casecsgr1994-08-121-1/+6
| | | | Submitted by: Geoff Rehmet
* The password scrambler now becomes libscrypt, and libcrypt iscsgr1994-08-091-0/+19
| | | | | a symlink to it. (The real libcrypt will be installed as libdescrypt.) Submitted by: Geoff.
* Nates password scrambler, from FreebSD 1.1.5, but with everything except csgr1994-08-092-0/+193
crypt() ripped out Reviewed by: Geoff Rehmet Submitted by: Nate Williams
OpenPOWER on IntegriCloud