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
Seems there is some bug in publicKeyInfo.toSchema().toString() because second output is different from first and both publicKeyInfo.toSchema().toString('hex') outputs are identical (and public key after importing in spki mode as above looks fine).
The text was updated successfully, but these errors were encountered:
After generating test RSA keypair with...
...printing publicKeyInfo schema gives us:
publicKeyInfo.toSchema().toString():
publicKeyInfo.toSchema().toString('hex'):
Exporting unencrypted priv key from keyPair as above to PKCS#8 PEM gives us:
After importing such privkey from PEM and generating PublicKeyInfo from it with...
...printing publicKeyInfo schema gives us:
publicKeyInfo.toSchema().toString():
publicKeyInfo.toSchema().toString('hex'):
Importing pubkey from such publicKeyInfo works fine with
Seems there is some bug in
publicKeyInfo.toSchema().toString()
because second output is different from first and bothpublicKeyInfo.toSchema().toString('hex')
outputs are identical (and public key after importing in spki mode as above looks fine).The text was updated successfully, but these errors were encountered: