]> git.mxchange.org Git - friendica.git/commitdiff
Bump new users RSA key strength
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 19 Jan 2018 04:47:54 +0000 (23:47 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 19 Jan 2018 16:27:53 +0000 (11:27 -0500)
src/Protocol/DFRN.php

index bfe2fafaa8a598c8e16dda53a28b8e8713fe005d..bf662cb1c847088b7eb960caddd901ce76b6fb74 100644 (file)
@@ -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']);
                }