Bump new users RSA key strength

pull/4276/head
Hypolite Petovan 2018-01-18 23:47:54 -05:00
rodzic de70007a46
commit cadf8c5e5d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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']);
}