aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-08-21 10:55:55 +0200
committerMario Vavti <mario@mariovavti.com>2020-08-21 10:55:55 +0200
commit49df57df45f82e2e0f1b10f2508f61b78d6d3ac0 (patch)
treeda108b3e816419354814b143b675a8a933364f51 /include/conversation.php
parent374c30999acb19fd9ec828a266106e11367c7584 (diff)
downloadvolse-hubzilla-49df57df45f82e2e0f1b10f2508f61b78d6d3ac0.tar.gz
volse-hubzilla-49df57df45f82e2e0f1b10f2508f61b78d6d3ac0.tar.bz2
volse-hubzilla-49df57df45f82e2e0f1b10f2508f61b78d6d3ac0.zip
use the default setting and also add the mode to the cipher. aes-128 is to be preferred over aes-256 according to bruce schneier https://www.schneier.com/blog/archives/2009/07/another_new_aes.html#c386957
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 05d1cdc26..876e907e5 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1396,7 +1396,7 @@ function hz_status_editor($a, $x, $popup = false) {
$cipher = get_pconfig($x['profile_uid'], 'system', 'default_cipher');
if(! $cipher)
- $cipher = 'AES-256';
+ $cipher = 'AES-128-CCM';
if(array_key_exists('catsenabled',$x))
$catsenabled = $x['catsenabled'];