From 6691bc4bd44ea2075c3b8d01841e5597030239d4 Mon Sep 17 00:00:00 2001
From: J0WI <J0WI@users.noreply.github.com>
Date: Fri, 26 Mar 2021 19:38:38 +0100
Subject: [PATCH] Update cipher defaults

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
---
 config/config.sample.php | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/config/config.sample.php b/config/config.sample.php
index 5792381e4d7..6a1ca06ef0c 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1615,10 +1615,15 @@ $CONFIG = [
 'theme' => '',
 
 /**
- * The default cipher for encrypting files. Currently AES-128-CFB and
- * AES-256-CFB are supported.
+ * The default cipher for encrypting files. Currently supported are:
+ *  - AES-256-CTR
+ *  - AES-128-CTR
+ *  - AES-256-CFB
+ *  - AES-128-CFB
+ *
+ * Defaults to ``AES-256-CTR``
  */
-'cipher' => 'AES-256-CFB',
+'cipher' => 'AES-256-CTR',
 
 /**
  * The minimum Nextcloud desktop client version that will be allowed to sync with
-- 
GitLab