Skip to content

Commit 9ff74b8

Browse files
authored
Migrate to *node*@12.0.0 (#1603)
* Adjust default cipher order to match. Support for TLS 1.3 is added in this version. * Remove restriction on TLSv1.0 since it's presumably disabled by default. NOTE: * This is about a year early from the March-April'ish 2020 recommended deadline. Auto-merge
1 parent dea0927 commit 9ff74b8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ if (isSecured) {
279279
cert: fs.readFileSync(fullchain, 'utf8'),
280280
ca: fs.readFileSync(chain, 'utf8'),
281281
ciphers: [
282+
'TLS_AES_256_GCM_SHA384',
283+
'TLS_CHACHA20_POLY1305_SHA256',
284+
'TLS_AES_128_GCM_SHA256',
282285
'ECDHE-RSA-AES128-GCM-SHA256',
283286
'ECDHE-ECDSA-AES128-GCM-SHA256',
284287
'ECDHE-RSA-AES256-GCM-SHA384',
@@ -301,8 +304,7 @@ if (isSecured) {
301304
'!SRP',
302305
'!CAMELLIA'
303306
].join(':'),
304-
honorCipherOrder: true,
305-
secureOptions: crypto.constants.SSL_OP_NO_TLSv1
307+
honorCipherOrder: true
306308
};
307309

308310
try {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
"clean": "node dev/clean.js"
8383
},
8484
"engines": {
85-
"node": ">=11.6.0 <12.0.0",
86-
"npm": ">=6.5.0"
85+
"node": ">=12.0.0 <13.0.0",
86+
"npm": ">=6.9.0"
8787
},
8888
"private": true
8989
}

0 commit comments

Comments
 (0)