Skip to content

Commit d771e0b

Browse files
committed
test: update allowed tls ciphers
1 parent bc7fc04 commit d771e0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.electron_flags.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ echo $(electron -i <<< 'process.exit(0)' 2> /dev/null | grep "Using" | awk '{$1=
22

33
electron -i <<< 'process.exit(parseInt(process.versions.node, 10))' &> /dev/null
44
NODE_VERSION=$?
5-
export NODE_OPTIONS='--no-warnings --tls-cipher-list="DHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES128-GCM-SHA256 DHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES256-GCM-SHA384"'
5+
export NODE_OPTIONS='--no-warnings --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'
66

77
if [[ $NODE_VERSION -eq 18 ]]; then
88
export NODE_OPTIONS+=' --experimental-global-webcrypto'

.node_flags.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ echo "Using Node.js $(node --version)"
22

33
node -e 'process.exit(parseInt(process.versions.node, 10))' &> /dev/null
44
NODE_VERSION=$?
5-
export NODE_OPTIONS='--conditions=browser --no-warnings --tls-cipher-list="DHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES128-GCM-SHA256 DHE-RSA-AES256-GCM-SHA384 ECDHE-RSA-AES256-GCM-SHA384"'
5+
export NODE_OPTIONS='--conditions=browser --no-warnings --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'
66

77
if [[ $NODE_VERSION -eq 18 ]]; then
88
export NODE_OPTIONS+=' --experimental-global-webcrypto'

0 commit comments

Comments
 (0)