ben-yocum
ben-yocum
Complete minimal repro [here](https://github.com/ben-yocum/electron-28828-repro). main.js has all the significant js: ```javascript const {app, BrowserWindow} = require('electron') function createWindow () { const mainWindow = new BrowserWindow(); mainWindow.loadFile('dummy.pdf'); mainWindow.webContents.on('did-finish-load', () => {...
Easy workaround: ``` if (process && !process.versions['node-webkit']) { process.versions['node-webkit'] = true; } const forge = require('node-forge'); ``` A quick explanation of what's happening: Forge is trying to use Node's `crypto`...
PR submitted https://github.com/digitalbazaar/forge/pull/782