des_crypt.3, encrypt.3: The functions described in these pages are removed in glibc 2.28

These functions were removed because they use DES, which is no
longer considered secure.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-02-26 10:28:24 +01:00
parent 53cbdde870
commit 4cdc879a59
2 changed files with 22 additions and 0 deletions

View File

@ -131,6 +131,17 @@ is false only for the first two statuses.
.SH VERSIONS
These functions are present in
glibc 2.1 and later.
.SH VERSIONS
Because they employ the DES block cipher,
which is no longer considered secure,
.BR ecb_crypt (),
.BR ecb_crypt (),
.BR crypt_r (),
and
.BR des_setparity ()
were removed in glibc 2.28.
Applications should switch to a modern cryptography library, such as
.BR libgcrypt .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).

View File

@ -119,6 +119,17 @@ On success, it is unchanged.
.B ENOSYS
The function is not provided.
(For example because of former USA export restrictions.)
.SH VERSIONS
Because they employ the DES block cipher,
which is no longer considered secure,
.BR crypt (),
.BR crypt_r (),
.BR setkey (),
and
.BR setkey_r ()
were removed in glibc 2.28.
Applications should switch to a modern cryptography library, such as
.BR libgcrypt .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).