Skip to content

test: fix security warning#195

Merged
bajtos merged 1 commit intomasterfrom
fix/crypto-warning-in-tests
Jul 19, 2016
Merged

test: fix security warning#195
bajtos merged 1 commit intomasterfrom
fix/crypto-warning-in-tests

Conversation

@bajtos
Copy link
Copy Markdown
Member

@bajtos bajtos commented Jul 1, 2016

Add a simple implementation of getRandomValues to the browser context to get rid of the following warning:

[SECURITY] node-uuid: crypto not usable, falling back to insecure
Math.random()

@davidcheung please review
cc @0candy @gunjpan @richardpringle

Add a simple implementation of getRandomValues to the browser context
to get rid of the following warning:

    [SECURITY] node-uuid: crypto not usable, falling back to insecure
    Math.random()
@bajtos bajtos force-pushed the fix/crypto-warning-in-tests branch from 472175b to 5f5e86e Compare July 1, 2016 14:02
@bajtos bajtos changed the title test: remove security warning test: fix security warning Jul 1, 2016
@davidcheung
Copy link
Copy Markdown
Contributor

@bajtos LGTM

We are already skipping the browserify test in loopback-core, so I think there shouldn't be problems.
strongloop/loopback@34eb0e1

might even be worth it to port this to the loopback-core to replace skipped test?

@davidcheung davidcheung assigned bajtos and unassigned davidcheung Jul 6, 2016
@bajtos
Copy link
Copy Markdown
Member Author

bajtos commented Jul 19, 2016

We are already skipping the browserify test in loopback-core, so I think there shouldn't be problems.
strongloop/loopback@34eb0e1

might even be worth it to port this to the loopback-core to replace skipped test?

Possibly. I'd rather check whether the bug was fixed since the time we left the comment in LoopBack.

@bajtos bajtos merged commit eb49c7a into master Jul 19, 2016
@bajtos bajtos deleted the fix/crypto-warning-in-tests branch July 19, 2016 13:40
@bajtos bajtos removed the #review label Jul 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants