Getting :RSA_EAY_PUBLIC_DECRYPT:padding check failed:openssl\crypto\rsa\rsa_eay.c:697 #9

khurrumqureshi opened this Issue Feb 15, 2013 · 1 comment


None yet

2 participants

I am getting this erro while verifying signature
Error: 596:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01:openssl\crypto\rsa\rsa_pk1.c💯 596:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed:openssl\crypto\rsa\rsa_eay.c:697: at CleartextStream._pusher (tls.js:508:24) at CleartextStream._push (tls.js:334:25) at SecurePair.cycle (tls.js:734:20) at EncryptedStream.write (tls.js:130:13) at Socket.ondata (stream.js:38:26) at Socket.emit (events.js:67:17) at TCP.onread (net.js:367:14)

Any idea about that.

r0mdau commented Nov 16, 2014

The public key you used to verify is not the good one.

You have to use the public key associated with the private key who sign data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment