Bump new users RSA key strength
This commit is contained in:
parent
de70007a46
commit
cadf8c5e5d
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue