We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am generating keys with ecdh
const { Crypto } = require("@peculiar/webcrypto"); const crypto = new Crypto(); const { publicKey, privateKey } = await crypto.subtle.generateKey( { name: "ECDH", namedCurve: "P-256", // P-256, P-384, or P-521 }, true, ["deriveKey", "deriveBits"], );
but when exporting them it throws me this error
Error: Cannot get schema for 'PrivateKeyInfo' target
Can someone guide me how to solve this problem?
The text was updated successfully, but these errors were encountered:
Looks like your project uses multiple versions of @peculiar/asn1-schema. Please deduplicate dependences and try again
Sorry, something went wrong.
It happens for me with the latest webcrypto version v1.4. When I switch strictly to the v1.3.3 without hat this error disappears.
Having this issue as well, even on 1.3.3
microshine
No branches or pull requests
I am generating keys with ecdh
but when exporting them it throws me this error
Can someone guide me how to solve this problem?
The text was updated successfully, but these errors were encountered: