You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let pkiPrivateKey = pki.privateKeyFromPem( <string of PEM above> );
Got error:
Error: Cannot read public key. Unknown OID.
at pki.publicKeyFromAsn1 (.../node_modules/node-forge/lib/rsa.js:1474:19)
at pki.publicKeyFromPem(.../node_modules/node-forge/lib/x509.js:865:14)
...
Looks like it assumes RSA keys. No support at all for EC256?
The text was updated successfully, but these errors were encountered:
More of a question than an issue I guess - but tried this:
PEM file of EC256 key:
JS code:
Got error:
Looks like it assumes RSA keys. No support at all for EC256?
The text was updated successfully, but these errors were encountered: