archive mirror
 help / color / mirror / Atom feed
* [PATCH] smb3.1.1: enable negotiating stronger encryption by default
@ 2021-04-28  4:17 Steve French
  0 siblings, 0 replies; only message in thread
From: Steve French @ 2021-04-28  4:17 UTC (permalink / raw)
  To: CIFS; +Cc: linux-cifsd-devel, samba-technical

Now that stronger encryption (gcm256) has been more broadly
tested, and confirmed to work with multiple servers (Windows
and Azure for example), enable it by default.  Although gcm256 is
the second choice we offer (after gcm128 which should be faster),
this change allows mounts to server which are configured to
require the strongest encryption to work (without changing a module
load parameter).

Signed-off-by: Steve French <>
Suggested-by: Ronnie Sahlberg <>
Reviewed-by: Ronnie Sahlberg <>
 fs/cifs/cifsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 4a3867a7cc5b..8a6894577697 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -75,7 +75,7 @@ bool enable_oplocks = true;
 bool linuxExtEnabled = true;
 bool lookupCacheEnabled = true;
 bool disable_legacy_dialects; /* false by default */
-bool enable_gcm_256;  /* false by default, change when more servers
support it */
+bool enable_gcm_256 = true;
 bool require_gcm_256; /* false by default */
 unsigned int global_secflags = CIFSSEC_DEF;
 /* unsigned int ntlmv2_support = 0; */



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-28  4:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  4:17 [PATCH] smb3.1.1: enable negotiating stronger encryption by default Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).