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
I'm trying to parse public key with sshpk.parseKey(publicKeyString, 'pem') which has been created with algorithm: "ECDSA" and ecdsaCurve: "P256".
Key is of type:
-----BEGIN PUBLIC KEY-----
Blah-blah-blah
-----END PUBLIC KEY-----
When I'm trying to call sshpk.parseKey(publicKeyString, 'pem') and pass public key in publicKeyString it's working without error. But above code returns:
Type = ecdsa
Alg = undefined
Kty = undefined
Kid = undefined
Crv = undefined
Use = undefined
X = undefined
Y = undefined
So values X, Y and others are not initialized. Why all parameters are not initialized?
The text was updated successfully, but these errors were encountered:
I'm trying to parse public key with
sshpk.parseKey(publicKeyString, 'pem')
which has been created with algorithm: "ECDSA" and ecdsaCurve: "P256".Key is of type:
-----BEGIN PUBLIC KEY-----
Blah-blah-blah
-----END PUBLIC KEY-----
When I'm trying to call sshpk.parseKey(publicKeyString, 'pem') and pass public key in publicKeyString it's working without error. But above code returns:
So values X, Y and others are not initialized. Why all parameters are not initialized?
The text was updated successfully, but these errors were encountered: