1
1
Fork 0

Revert bumping the site RSA key strength to 2048

This commit is contained in:
Hypolite Petovan 2018-01-19 11:58:26 -05:00
parent dd07c47ab2
commit 2c284f30c2

View file

@ -468,7 +468,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 = Crypto::newKeypair(2048);
$res = Crypto::newKeypair(1024);
Config::set('system', 'site_prvkey', $res['prvkey']);
Config::set('system', 'site_pubkey', $res['pubkey']);
}