summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
Commit message (Collapse)AuthorAgeFilesLines
* Simple unit-tests for libcrypt, to show how easy it is.sjg2012-11-072-0/+64
| | | | Approved by: marcel (mentor)
* Stop using auth_getval() now that it always returns NULL. Instead,des2012-06-123-20/+8
| | | | | | | hardcode the default to what it would be if we didn't hardcode it, i.e. DES if supported and MD5 otherwise. MFC after: 3 weeks
* mdoc: minor Bl improvements.joel2012-06-021-1/+1
|
* Make the item numbers match the crypt magic numbereadler2012-04-111-0/+2
| | | | | | | PR: docs/166497 Submitted by: Mike Kelly <pioto@pioto.org> Approved by: cperciva MFC after: 1 week
* Remove superfluous paragraph macro.joel2012-03-251-4/+0
|
* s/shaN_crypt/crypt_shaN/g to be a more consistent with the existing naming.obrien2011-05-054-14/+14
| | | | Reviewed by: markm
* Protect the reachover built symbols after the SHA256/512 crypt(3) addition.obrien2011-04-271-1/+3
|
* Document SHA256/512 modes.markm2011-04-091-2/+8
| | | | MFC after: 1 month
* Add SHA256/512 ($5$ and $6$) to crypt(3). Used in linux-world, doesn'tmarkm2011-04-096-1/+1009
| | | | | | | | hurt us. PR: misc/124164 Submitted by: KIMURA Yasuhiro < yasu utahime org > MFC after: 1 month
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* cipher(3) is gone.ceri2007-04-041-1/+0
| | | | MFC after: 3 days
* Provide alternate default for SHLIBDIR before bsd.own.mk does this.ru2006-03-181-1/+2
| | | | Reported by: phk
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Fixed the misplaced $FreeBSD$.ru2005-02-091-3/+1
|
* Sort sections.ru2005-01-201-15/+15
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Mechanically kill hard sentence breaks.ru2004-07-021-11/+21
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* The .Fn functioncharnier2003-06-081-2/+5
|
* Tidy the code up a fraction. Re-release with a 2-clause BSD licensemarkm2003-06-021-19/+33
| | | | | | with the kind permission of the author/copyright holder. Thanks to: phk
* Add a new hash type. This "NT-hash" is compatible with the passwordmarkm2003-06-025-11/+123
| | | | | | | hashing scheme used in Microsoft's NT machines. IT IS NOT SECURE! DON'T USE IT! This is for the use of competent sysadmins only! Submitted by: Michael Bretterklieber
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* english(4) police.schweikh2002-12-271-1/+1
|
* crypt(3) incorrectly documents md5 salt, fixed.trhodes2002-04-091-1/+1
| | | | | | PR: 36782 No objections from: ru MFC after: 3 days
* Fix grammer in comment.phk2002-03-251-1/+1
| | | | Submitted by: Engin Gunduz <engin@ripe.net>
* Modernize my email-address.phk2002-03-251-1/+1
|
* Darn. There is (now was) a signed/unsigned issue that resulted in amarkm2002-03-071-4/+4
| | | | | | very long loop. Reported by: nnd@mail.nsk.ru (Nickolay Dudorov)
* No functional change, but big code cleanup. WARNS, lint(1) and style(9).markm2002-03-064-60/+63
|
* s/crypt_format/crypt_default/ to match reality.ru2001-12-131-1/+1
| | | | | PR: docs/32787 Spotted by: Pete Carah <pete@altadena.net>
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* Implement __FBSDID()dillon2001-09-163-11/+7
|
* Remove out-of-date "cannot be exported from USA" notice.markm2001-08-151-2/+0
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-6/+0
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed punctuation after the last SEE ALSO xref.ru2001-07-101-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Remove duplicate words.dd2001-06-241-2/+2
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Help standalone builds by getting libutil.h from src/lib/libutilpeter2001-03-211-1/+1
|
* mdoc(7) police: ``It'' macro does not take argument in -enum lists.ru2001-03-161-2/+2
| | | | | | | (In -mdocNG, this only causes warning. In current implementation, it is fatal.) Pointy hat to: markm (for not checking stderr)
* Add OpenBSD-style blowfish password hashing. This makes one lessmarkm2001-03-114-7/+23
| | | | | | | | | | gratuitous difference between us and our sister project. This was given to me _ages_ ago. May apologies to Paul for the length of time its taken me to commit. Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD Submitted by: Paul Herman <pherman@frenchfries.net>
* Prepare for mdoc(7)NG.ru2000-12-291-2/+2
|
* Reflect rev 1.18 in crypt.c. Note that this section is somewhatpeter2000-12-281-3/+5
| | | | mangled and could do with some word-smithing.
* Hindsight is wonderful, but I got cold feet over the crypt(3) defaultpeter2000-12-281-5/+5
| | | | | | | | | | | | | | | | | so I am backing it out for now. The problem is that some random program calling crypt() could be passing a DES salt and the crypt(3) library would encrypt it in md5 mode and there would be a password mismatch as a result. I wrote a validater function for the DES code to verify that a salt is valid for DES, but I realized there were too many strange things to go wrong. passwd(1), pw(8) etc still generate md5 passwords by default for /etc/master.passwd, so this is almost academic. It is a big deal for things that have their own crypt(3)-ed password strings (.htaccess, etc etc). Those are the things I do not want to break. My DES salt recognizer basically checked if the salt was either 2 or 13 characters long, or began with '_' (_PASSWORD_EFMT1). I think it would have worked but I have seen way too much crypt() mishandling in the past.
* Merge into a single US-exportable libcrypt, which only providespeter2000-12-284-114/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | one-way hash functions for authentication purposes. There is no more "set the libcrypt->libXXXcrypt" nightmare. - Undo the libmd.so hack, use -D to hide the md5c.c internals. - Remove the symlink hacks in release/Makefile - the algorthm is set by set_crypt_format() as before. If this is not called, it tries to heuristically figure out the hash format, and if all else fails, it uses the optional auth.conf entry to chose the overall default hash. - Since source has non-hidden crypto in it there may be some issues with having the source it in some countries, so preserve the "secure/*" division. You can still build a des-free libcrypt library if you want to badly enough. This should not be a problem in the US or exporting from the US as freebsd.org had notified BXA some time ago. That makes this stuff re-exportable by anyone. - For consistancy, the default in absence of any other clues is md5. This is to try and minimize POLA across buildworld where folk may suddenly be activating des-crypt()-hash support. Since the des hash may not always be present, it seemed sensible to make the stronger md5 algorithm the default. All things being equal, no functionality is lost. Reviewed-by: jkh (flame-proof suit on)
OpenPOWER on IntegriCloud