Open NewGyu opened 8 years ago
I think the reason this error is happening is that you're not passing a callback. This line expects a callback to have been passed to encrypt()
.
(I assume this happened because the README on master
shows you can use promises. Version 0.3 only supports callbacks, and that's what you should use.)
By the way, what are you using this library for? There are breaking changes in master that mean that ciphertexts produced with 0.3 will not decrypt under 0.4, whenever that's released.
It is also likely that the license will change from MIT to GPL.
I think the reason this error is happening is that you're not passing a callback. This line expects a callback to have been passed to encrypt().
Sorry, You're right. I was incorrectly read README.md on master branch.
By the way, what are you using this library for?
I am going to use "vault-cipher" for deployment script that I use.
I am happy when "promise" can be used.
Hello! Your
vault-cipher
is very useful.But it does not work with Node.js v4.2.6
So, I hope that you will us to release v0.4.0.