Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

crypto.generateKeyPair* support in electron node #92

@Kaimaerah

Description

@Kaimaerah

I recently updated my project to the latest electron beta (5.0.0-beta.1) which uses node "12" (electron-node-canary) as I was hoping to make use of crypto.generateKeyPairSync that was introduced in node v10.12. Unfortunately, when I call the function, I get the following error TypeError: crypto.generateKeyPairSync is not a function, despite the fact that it works on node latest and lts/dubnium

I've noticed that in the canary branch that feature had been reverted (see commit: c9f4c6f). What was the reason for removing this feature from the latest node build, and is there a chance of bringing it back in?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions