<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libcrypt/crypt.c, branch release/5.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.3.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-11-04T19:12:42Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-11-04T19:12:42Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-11-04T19:12:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3f86d8a2ea3f3265afaa1fd263b0004c5c000e69'/>
<id>urn:sha1:3f86d8a2ea3f3265afaa1fd263b0004c5c000e69</id>
<content type='text'>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</content>
</entry>
<entry>
<title>Add a new hash type. This "NT-hash" is compatible with the password</title>
<updated>2003-06-02T19:29:27Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2003-06-02T19:29:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bf513f6958487aaec98db331959674dd4db398d5'/>
<id>urn:sha1:bf513f6958487aaec98db331959674dd4db398d5</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>No functional change, but big code cleanup. WARNS, lint(1) and style(9).</title>
<updated>2002-03-06T17:18:09Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2002-03-06T17:18:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f2ac424af7b980ba4d858ecfd1644ce197d6869d'/>
<id>urn:sha1:f2ac424af7b980ba4d858ecfd1644ce197d6869d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement __FBSDID()</title>
<updated>2001-09-16T21:35:07Z</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2001-09-16T21:35:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e67f5b9fcac5f0ebb78f0b3a50c0128432cca584'/>
<id>urn:sha1:e67f5b9fcac5f0ebb78f0b3a50c0128432cca584</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed duplicate VCS ID tags, as per style(9).</title>
<updated>2001-08-13T14:06:34Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-08-13T14:06:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8af1452cf8dd1b33da881f84e445d5981eaa9613'/>
<id>urn:sha1:8af1452cf8dd1b33da881f84e445d5981eaa9613</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add OpenBSD-style blowfish password hashing. This makes one less</title>
<updated>2001-03-11T16:05:43Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-03-11T16:05:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5c1296168babf97c51ff030872cddb7f9857474f'/>
<id>urn:sha1:5c1296168babf97c51ff030872cddb7f9857474f</id>
<content type='text'>
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 &lt;provos@physnet.uni-hamburg.de&gt;/OpenBSD
Submitted by:	Paul Herman &lt;pherman@frenchfries.net&gt;
</content>
</entry>
<entry>
<title>Hindsight is wonderful, but I got cold feet over the crypt(3) default</title>
<updated>2000-12-28T11:23:01Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2000-12-28T11:23:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=65c10f6d334b4e6c9879de96fef092bb72afc758'/>
<id>urn:sha1:65c10f6d334b4e6c9879de96fef092bb72afc758</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Merge into a single US-exportable libcrypt, which only provides</title>
<updated>2000-12-28T10:32:02Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2000-12-28T10:32:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9886bcdf9326929b650dc843802a25400f597365'/>
<id>urn:sha1:9886bcdf9326929b650dc843802a25400f597365</id>
<content type='text'>
one-way hash functions for authentication purposes.  There is no more
"set the libcrypt-&gt;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)
</content>
</entry>
<entry>
<title>Still have to support libscrypt for now :(  Add #defines to take DES</title>
<updated>2000-08-24T17:51:16Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2000-08-24T17:51:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=da140a0594e26b718c45d9dd0b445a10eb32464a'/>
<id>urn:sha1:da140a0594e26b718c45d9dd0b445a10eb32464a</id>
<content type='text'>
out for it.
</content>
</entry>
<entry>
<title>Add working and easy crypt(3)-switching.  Yes, we need a whole new API</title>
<updated>2000-08-22T02:15:54Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2000-08-22T02:15:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=04c9749ff0148ec8f73b150cec8bc2c094a5d31a'/>
<id>urn:sha1:04c9749ff0148ec8f73b150cec8bc2c094a5d31a</id>
<content type='text'>
for crypt(3) by now.  In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by:	peter
</content>
</entry>
</feed>
