From af579ca8d5c3b9576ec51504e9c7010b3cfbc67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Georget?= Date: Tue, 1 Dec 2015 14:20:55 +0100 Subject: [PATCH] Purge global RSA key --- lib/configuration/hooks/studio/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/configuration/hooks/studio/index.js b/lib/configuration/hooks/studio/index.js index a9f1dbba0d..5431258dd8 100644 --- a/lib/configuration/hooks/studio/index.js +++ b/lib/configuration/hooks/studio/index.js @@ -273,6 +273,9 @@ module.exports = function (strapi) { connectWithStudio: function (socket) { strapi.log.info('Connection with the Studio server found, please wait a few seconds...'); + // Purge + delete strapi.rsa; + strapi.rsa = new RSA({ b: 2048 });