Skip to content

Instantly share code, notes, and snippets.

@chapel
Created December 12, 2013 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chapel/7921757 to your computer and use it in GitHub Desktop.
Save chapel/7921757 to your computer and use it in GitHub Desktop.
/usr/local/lib/node_modules/cipherhub/node_modules/rsa-stream/node_modules/ursa/lib/ursa.js:291
return encodeBuffer(rsa.privateDecrypt(buf, padding), outEncoding);
^
Error: error:0407A079:rsa routines:RSA_padding_check_PKCS1_OAEP:oaep decoding error
at Object.decrypt (/usr/local/lib/node_modules/cipherhub/node_modules/rsa-stream/node_modules/ursa/lib/ursa.js:291:33)
at Through2._transform (/usr/local/lib/node_modules/cipherhub/node_modules/rsa-stream/index.js:37:27)
at Through2.Transform._read (_stream_transform.js:179:10)
at Through2.Transform._write (_stream_transform.js:167:12)
at doWrite (_stream_writable.js:221:10)
at writeOrBuffer (_stream_writable.js:211:5)
at Through2.Writable.write (_stream_writable.js:180:11)
at BlockStream.ondata (stream.js:51:26)
at BlockStream.EventEmitter.emit (events.js:95:17)
at BlockStream._emitChunk (/usr/local/lib/node_modules/cipherhub/node_modules/rsa-stream/node_modules/block-stream/block-stream.js:145:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment