From: Hypolite Petovan Date: Fri, 19 Jan 2018 04:47:54 +0000 (-0500) Subject: Bump new users RSA key strength X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cadf8c5e5dc2636f51870d1a2be735028e95d28d;p=friendica.git Bump new users RSA key strength --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index bfe2fafaa8..bf662cb1c8 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -471,7 +471,7 @@ class DFRN /* get site pubkey. this could be a new installation with no site keys*/ $pubkey = Config::get('system', 'site_pubkey'); if (! $pubkey) { - $res = FriendicaCrypto::newKeypair(1024); + $res = FriendicaCrypto::newKeypair(2048); Config::set('system', 'site_prvkey', $res['prvkey']); Config::set('system', 'site_pubkey', $res['pubkey']); }