From b90a94bdd9b286baa578c2a4488a273dd95c7c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 14 Nov 2019 12:13:40 +0100 Subject: [PATCH] electron-main: Enable encryption for Seshat. --- electron_app/src/electron-main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js index 7190a5a25..22538be7f 100644 --- a/electron_app/src/electron-main.js +++ b/electron_app/src/electron-main.js @@ -256,8 +256,7 @@ ipcMain.on('seshat', async function(ev, payload) { let p = path.normalize(path.join(eventStorePath, args[0])); try { await makeDir(p); - eventIndex = new Seshat(p); - // eventIndex = new Seshat(p, {passphrase: "DEFAULT_PASSPHRASE"}); + eventIndex = new Seshat(p, {passphrase: "DEFAULT_PASSPHRASE"}); console.log("Initialized event store"); } catch (e) { sendError(payload.id, e);