NetBSD/share/man
sjg 3a0c68edfd Add support for SHA1 hashed passwords.
The algorithm used is essentially PBKDF1 from RFC 2898 but using
hmac_sha1 rather than SHA1 directly (suggested by smb@research.att.com).

 * The format of the encrypted password is:
 * $<tag>$<iterations>$<salt>$<digest>
 *
 * where:
 *      <tag>           is "sha1"
 *      <iterations>    is an unsigned int identifying how many rounds
 *                      have been applied to <digest>.  The number
 *                      should vary slightly for each password to make
 *                      it harder to generate a dictionary of
 *                      pre-computed hashes.  See crypt_sha1_iterations.
 *      <salt>          up to 64 bytes of random data, 8 bytes is
 *                      currently considered more than enough.
 *      <digest>        the hashed password.

hmac.c implementes HMAC as defined in RFC 2104 and includes a unit
test for both hmac_sha1 and hmac_sha1 using a selection of the Known
Answer Tests from RFC 2202.

It is worth noting that to be FIPS compliant the hmac key (password)
should be 10-20 chars.
2004-07-02 00:05:23 +00:00
..
man0 The GNU textutils package is no more. Direct people to sysutils/coreutils 2004-03-31 02:10:00 +00:00
man1 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:30:41 +00:00
man2 Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp., 2003-10-14 14:59:03 +00:00
man3 Add MLINKS for: 2004-04-18 23:42:23 +00:00
man4 Bump date for previous. 2004-06-23 15:45:59 +00:00
man5 Add support for SHA1 hashed passwords. 2004-07-02 00:05:23 +00:00
man6 Drop unnecessary .Pp. 2001-06-24 01:33:24 +00:00
man7 Make the spelling of reentrant match the rest of the system. 2004-07-01 10:38:28 +00:00
man8 Flasg -> Flags 2004-04-29 22:44:43 +00:00
man9 Fix Dd argument. 2004-06-25 15:33:13 +00:00
tools Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
Makefile Modify "makedb" so that WHATISDBDIR be used to specify the directory 2004-02-09 07:58:01 +00:00