Hi Antoine,
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for raising this Antoine.
There was not much reasoning behind picking one over the other. I suspect I simply followed the lead taken by Ghost in using bcryptjs.
Will look at moving over to bcrypt - just want to make sure it doesn't cause issues on windows being a native module. We want to avoid forcing windows users to need the whole visual studio setup in order to compile modules at install time. Assuming bcrypt is packaged with pre built binaries, all will be well.
Nick
Dave, bcrypt (whichever version) is not an optional dependency. it does break something as it leaves windows users unable to use adminAuth.
Needs some proper thought over how to do this. Post install script seems the most viable, albeit not ideal.
Nick
--
Or do you mean to list both as optional deps, and then in the code load which ever is present, with bcrypt given preference to bcryptjs?
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.