summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-03-29 20:38:10 +0200
committerGitHub <noreply@github.com>2021-03-29 20:38:10 +0200
commitd8160fb2adbdf59ba120698204f33845bd795632 (patch)
treeecbd9c6f855e6c703ebe5f6343be4dd19b117e42
parentf8bad860976beabfe704dd0fe6b7c8f7aaa68212 (diff)
parentfdd1ff2686f96f7e49a8e7546729a67a3402963d (diff)
downloadnextcloud-server-d8160fb2adbdf59ba120698204f33845bd795632.tar.gz
nextcloud-server-d8160fb2adbdf59ba120698204f33845bd795632.zip
Merge pull request #26325 from J0WI/crypt-config-sample
Update cipher defaults
-rw-r--r--config/config.sample.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 29fe3629806..e352c86b262 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1627,10 +1627,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