I have a set of public/private keys, that works flawless when encrypting/decrypting some data using only one of the 2 ways for both encryption and decryption.
I stil
Just add -decrypt argument for openssl
node test.js | openssl base64 -d -A | openssl rsautl -decrypt -oaep -inkey id_rsa
works pretty nice for me.