-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to newer version of cryptiles #99
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🌔
Are we updating the dependencies 1 at a time? There's a couple more that needs to be updated as well. |
Of the ones that github notified us about, only cryptiles was in |
Heads up, cryptiles 4.1.2 only supports node 8. hapijs/cryptiles@c44c0e9, the change modifies the function fixedTimeComparison which this library depends on, so this change may warrant a major version bump. |
@gkwang good point - changed it to 3.1.2 (still an awful lot newer) and this preserves support for Node 6 |
If the version of Cryptiles is only changed to 3.1.2, I think we still have the security issue mentioned here: This issue is solved in 4.1.2 according to this: This is flagged as a critical issue by the tool "Black Duck Scan" that is used in my project. |
As I understand it the only clear options are:
It may make sense to just drop Node6 and make this a major version release, but I'm curious what others think.
|
I agree with you. |
From what I'm seeing, we're not using cryptiles' PNRG, so this vulnerability doesn't directly affect us. |
@CalRobert Dropping Node 6 isn't a viable option for us at the moment so we'll have to investigate some other approaches. |
I have created a pull-request #102 where I removed the 'Cryptiles' dependency. |
Github warned about a vulnerability in the used version of cryptiles