Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ghost/core/core/server/models/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const getMembersKey = doBlock(() => {
let UNO_KEYPAIRINO;
return function getKey(type) {
if (!UNO_KEYPAIRINO) {
UNO_KEYPAIRINO = keypair({bits: 1024});
UNO_KEYPAIRINO = keypair({bits: 2048});
}
return UNO_KEYPAIRINO[type];
};
Expand All @@ -36,7 +36,7 @@ const getGhostKey = doBlock(() => {
let UNO_KEYPAIRINO;
return function getKey(type) {
if (!UNO_KEYPAIRINO) {
UNO_KEYPAIRINO = keypair({bits: 1024});
UNO_KEYPAIRINO = keypair({bits: 2048});
}
return UNO_KEYPAIRINO[type];
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MembersConfigProvider {

if (!privateKey || !publicKey) {
logging.warn('Could not find members_private_key, using dynamically generated keypair');
const keypair = createKeypair({bits: 1024});
const keypair = createKeypair({bits: 2048});
privateKey = keypair.private;
publicKey = keypair.public;
}
Expand Down
Loading