Closed HadaIonut closed 4 weeks ago
Version: Deno 1.39.1
I am trying to get the node module werift working but i think i am having problems with the crypto symetric key generation. The module throws (TypeError) Unsupported named curve when trying to execute:
werift
import { generateKeyPairSync } from "node:crypto"; generateKeyPairSync("ec", { namedCurve: "prime256v1", publicKeyEncoding: { format: "der", type: "spki", }, privateKeyEncoding: { format: "der", type: "pkcs8", }, });
This seems to work fine in node.
I'll have a crack at this one.
Once #22882 is merged, this issue will be blocked on KeyObject.export() not being implemented.
KeyObject.export()
This is working in the latest canary.
Version: Deno 1.39.1
I am trying to get the node module
werift
working but i think i am having problems with the crypto symetric key generation. The module throws (TypeError) Unsupported named curve when trying to execute:This seems to work fine in node.