hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/sunrpc/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config SUNRPC
23 tristate
34 depends on MULTIUSER
....@@ -20,7 +21,6 @@
2021 depends on SUNRPC && CRYPTO
2122 depends on CRYPTO_MD5 && CRYPTO_DES && CRYPTO_CBC && CRYPTO_CTS
2223 depends on CRYPTO_ECB && CRYPTO_HMAC && CRYPTO_SHA1 && CRYPTO_AES
23
- depends on CRYPTO_ARC4
2424 default y
2525 select SUNRPC_GSS
2626 help
....@@ -34,6 +34,22 @@
3434
3535 If unsure, say Y.
3636
37
+config SUNRPC_DISABLE_INSECURE_ENCTYPES
38
+ bool "Secure RPC: Disable insecure Kerberos encryption types"
39
+ depends on RPCSEC_GSS_KRB5
40
+ default n
41
+ help
42
+ Choose Y here to disable the use of deprecated encryption types
43
+ with the Kerberos version 5 GSS-API mechanism (RFC 1964). The
44
+ deprecated encryption types include DES-CBC-MD5, DES-CBC-CRC,
45
+ and DES-CBC-MD4. These types were deprecated by RFC 6649 because
46
+ they were found to be insecure.
47
+
48
+ N is the default because many sites have deployed KDCs and
49
+ keytabs that contain only these deprecated encryption types.
50
+ Choosing Y prevents the use of known-insecure encryption types
51
+ but might result in compatibility problems.
52
+
3753 config SUNRPC_DEBUG
3854 bool "RPC: Enable dprintk debugging"
3955 depends on SUNRPC && SYSCTL