summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2012-11-30 13:51:12 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2012-11-30 13:51:12 +0000
commit5f88d867e80a15cd77f1c7e81d62eb0d72c0debf (patch)
tree6836abfc66134bc529efbad9ea0dba30a4e2bcbe /lib/libc
parent982e143db48b402fa7d2345ff7407399e727efb7 (diff)
Document a known bug in the DES crypt cipher implementation which we're
not going to fix in order to stay compatible with legacy password data. Nobody should use DES crypt anyway these days. See http://www.freebsd.org/security/advisories/FreeBSD-SA-12:02.crypt.asc for details about this bug. Discussed with deraadt and beck about half a year ago (I'm pruning Ms from my tree).
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/crypt/crypt.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/crypt/crypt.3 b/lib/libc/crypt/crypt.3
index 8415f28b9bc..3d9785fca97 100644
--- a/lib/libc/crypt/crypt.3
+++ b/lib/libc/crypt/crypt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypt.3,v 1.28 2012/06/02 00:14:16 guenther Exp $
+.\" $OpenBSD: crypt.3,v 1.29 2012/11/30 13:51:11 stsp Exp $
.\"
.\" FreeSec: libcrypt
.\"
@@ -31,7 +31,7 @@
.\"
.\" Manual page, using -mandoc macros
.\"
-.Dd $Mdocdate: June 2 2012 $
+.Dd $Mdocdate: November 30 2012 $
.Dt CRYPT 3
.Os
.Sh NAME
@@ -323,3 +323,7 @@ The
function returns a pointer to static data, and subsequent calls to
.Fn crypt
will modify the same object.
+.Pp
+With DES hashing, passwords containing the byte 0x80 use less key entropy
+than other passwords.
+This is an implementation bug, not a bug in the DES cipher.