Enable v8's siphash for hash seed creation (#707)

Enable the v8_use_siphash flag. This flag is enabled since Node.js
v11.12.0 (2019-03-15), see linked PR, release notes, and the blog post
detailing the attack.

Ref: https://github.com/nodejs/node/pull/26367
Ref: https://nodejs.org/gl/blog/release/v11.12.0/
Ref: https://darksi.de/12.hashwick-v8-vulnerability/
This commit is contained in:
Maxime Guerreiro 2021-06-22 14:34:52 +02:00 committed by GitHub
parent dfd5842913
commit e3ea921bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
.gn
View File

@ -37,6 +37,7 @@ default_args = {
v8_monolithic = false
v8_use_external_startup_data = false
v8_use_snapshot = true
v8_use_siphash = true
is_component_build = false
win_crt_flavor_agnostic = true
symbol_level = 1