summaryrefslogtreecommitdiffstats
path: root/fs/cifs/Kconfig
diff options
context:
space:
mode:
authorAurélien Aptel <aaptel@suse.com>2017-05-24 10:13:25 -0400
committerSteve French <smfrench@gmail.com>2017-07-05 20:51:04 -0400
commitd38de3c6156b97e4900a345124d06b6ead2d6bee (patch)
tree6ed6293bbf4eb877aa6c06cf79fb4f48be0491e8 /fs/cifs/Kconfig
parent97b37f241672c6b369486ac270de5ab14eb354ea (diff)
CIFS: add CONFIG_CIFS_DEBUG_KEYS to dump encryption keys
Add new config option that dumps AES keys to the console when they are generated. This is obviously for debugging purposes only, and should not be enabled otherwise. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/Kconfig')
-rw-r--r--fs/cifs/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index 034f00f21390..afeefe79c25e 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -146,6 +146,15 @@ config CIFS_DEBUG2
146 option can be turned off unless you are debugging 146 option can be turned off unless you are debugging
147 cifs problems. If unsure, say N. 147 cifs problems. If unsure, say N.
148 148
149config CIFS_DEBUG_DUMP_KEYS
150 bool "Dump encryption keys for offline decryption (Unsafe)"
151 depends on CIFS_DEBUG && CIFS_SMB2
152 help
153 Enabling this will dump the encryption and decryption keys
154 used to communicate on an encrypted share connection on the
155 console. This allows Wireshark to decrypt and dissect
156 encrypted network captures. Enable this carefully.
157
149config CIFS_DFS_UPCALL 158config CIFS_DFS_UPCALL
150 bool "DFS feature support" 159 bool "DFS feature support"
151 depends on CIFS && KEYS 160 depends on CIFS && KEYS