Skip to content

Error using crypto native module #171

@danielo515

Description

@danielo515

Application Error

Message

Cannot read property 'id' of null

Stack Trace
TypeError: Cannot read property 'id' of null
    at EventEmitter.<anonymous> (/Applications/Mancy.app/Contents/Resources/app/main/index.js:204:33)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:191:7)
    at WebContents.<anonymous> (/Applications/Mancy.app/Contents/Resources/electron.asar/browser/api/web-contents.js:240:37)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)

System Details

| Platform | darwin |
| Arch | x64 |
| Electron Version | 1.6.2 |
| Mancy Version | 3.2.0 |

The code was as simple as this

var crypto = require('crypto')
var algorithm = 'aes-128-ecb';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions