Revert bumping the site RSA key strength to 2048

2022.09-rc
Hypolite Petovan 2018-01-19 11:58:26 -05:00
rodzic dd07c47ab2
commit 2c284f30c2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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