-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
With the latest release of this library v1.1.7 I get the following error
Cannot get schema for 'PrivateKeyInfo' target
When running the following
const crypto = new Crypto();
const cryptoKeyPair = (await crypto.subtle.generateKey(
{
name: "ECDSA",
namedCurve: "P-256",
},
true,
[KeyUsage.SIGN]
));
const exportedKey = (await subtleCrypto.exportKey("jwk", cryptoKeyPair.privateKey));
Issue is not present with v1.1.6
For additional context i'm running NodeJS 12.22.1
Metadata
Metadata
Assignees
Labels
No labels