Skip to content

Instantly share code, notes, and snippets.

@ufo22940268

ufo22940268/a Secret

Created April 9, 2015 06:33
Show Gist options
  • Save ufo22940268/111136bdfe8afc7a24d2 to your computer and use it in GitHub Desktop.
Save ufo22940268/111136bdfe8afc7a24d2 to your computer and use it in GitHub Desktop.
msg = Everything is going to be 200 OK
return encodeBuffer(rsa.publicDecrypt(buf, padding), outEncoding);
^
Error: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01
at Object.publicDecrypt (/Users/ccheng/WebstormProjects/gleeman/node_modules/ursa/lib/ursa.js:285:33)
at Object.<anonymous> (/Users/ccheng/WebstormProjects/gleeman/test/crypto/ursa.js:31:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment