Skip to content

crypto: frozen on RSA key generation with public exponent 3 #29433

Description

@microshine
  • Version: 10.16.3
  • Platform: Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019
  • Subsystem:

NodeJS is frozen on RSA key generation with public exponent 3. It works fine in NodeJS v12

const crypto = require("crypto");

const keys = crypto.generateKeyPairSync("rsa", {
  modulusLength: 2048,
  publicExponent: 3,
  publicKeyEncoding: {
    format: "der",
    type: "spki",
  },
  privateKeyEncoding: {
    format: "der",
    type: "pkcs8",
  },
});

console.log(keys);

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues and PRs for confirmed bugs.cryptoIssues and PRs related to the crypto subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions