Skip to content

Commit b90a94b

Browse files
committed
electron-main: Enable encryption for Seshat.
1 parent e9352fc commit b90a94b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎electron_app/src/electron-main.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ ipcMain.on('seshat', async function(ev, payload) {
256256
let p = path.normalize(path.join(eventStorePath, args[0]));
257257
try {
258258
await makeDir(p);
259-
eventIndex = new Seshat(p);
260-
// eventIndex = new Seshat(p, {passphrase: "DEFAULT_PASSPHRASE"});
259+
eventIndex = new Seshat(p, {passphrase: "DEFAULT_PASSPHRASE"});
261260
console.log("Initialized event store");
262261
} catch (e) {
263262
sendError(payload.id, e);

0 commit comments

Comments
 (0)