mirror of https://github.com/mkerrisk/man-pages
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:
parent
53cbdde870
commit
4cdc879a59
|
@ -131,6 +131,17 @@ is false only for the first two statuses.
|
||||||
.SH VERSIONS
|
.SH VERSIONS
|
||||||
These functions are present in
|
These functions are present in
|
||||||
glibc 2.1 and later.
|
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
|
.SH ATTRIBUTES
|
||||||
For an explanation of the terms used in this section, see
|
For an explanation of the terms used in this section, see
|
||||||
.BR attributes (7).
|
.BR attributes (7).
|
||||||
|
|
|
@ -119,6 +119,17 @@ On success, it is unchanged.
|
||||||
.B ENOSYS
|
.B ENOSYS
|
||||||
The function is not provided.
|
The function is not provided.
|
||||||
(For example because of former USA export restrictions.)
|
(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
|
.SH ATTRIBUTES
|
||||||
For an explanation of the terms used in this section, see
|
For an explanation of the terms used in this section, see
|
||||||
.BR attributes (7).
|
.BR attributes (7).
|
||||||
|
|
Loading…
Reference in New Issue