Skip to content

Commit 284653f

Browse files
committed
update golden files
1 parent 636d31c commit 284653f

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

cli/testdata/coder_server_--help.golden

+9
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,21 @@ can safely ignore these settings.
249249
--tls-address host:port, $CODER_TLS_ADDRESS (default: 127.0.0.1:3443)
250250
HTTPS bind address of the server.
251251

252+
--tls-allow-insecure-ciphers bool, $CODER_TLS_ALLOW_INSECURE_CIPHERS (default: false)
253+
By default, only ciphers marked as 'secure' are allowed to be used.
254+
See
255+
https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L82-L95.
256+
252257
--tls-cert-file string-array, $CODER_TLS_CERT_FILE
253258
Path to each certificate for TLS. It requires a PEM-encoded file. To
254259
configure the listener to use a CA certificate, concatenate the
255260
primary certificate and the CA certificate together. The primary
256261
certificate should appear first in the combined file.
257262

263+
--tls-ciphers string-array, $CODER_TLS_CIPHERS
264+
Specify specific TLS ciphers that allowed to be used. See
265+
https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L53-L75.
266+
258267
--tls-client-auth string, $CODER_TLS_CLIENT_AUTH (default: none)
259268
Policy the server will follow for TLS Client Authentication. Accepted
260269
values are "none", "request", "require-any", "verify-if-given", or

cli/testdata/server-config.yaml.golden

+8
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ networking:
8383
# Path to key for client TLS authentication. It requires a PEM-encoded file.
8484
# (default: <unset>, type: string)
8585
clientKeyFile: ""
86+
# Specify specific TLS ciphers that allowed to be used. See
87+
# https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L53-L75.
88+
# (default: <unset>, type: string-array)
89+
tlsCiphers: []
90+
# By default, only ciphers marked as 'secure' are allowed to be used. See
91+
# https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L82-L95.
92+
# (default: false, type: bool)
93+
tlsAllowInsecureCiphers: false
8694
# Controls if the 'Strict-Transport-Security' header is set on all static file
8795
# responses. This header should only be set if the server is accessed via HTTPS.
8896
# This value is the MaxAge in seconds of the header.

enterprise/cli/testdata/coder_server_--help.golden

+9
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,21 @@ can safely ignore these settings.
250250
--tls-address host:port, $CODER_TLS_ADDRESS (default: 127.0.0.1:3443)
251251
HTTPS bind address of the server.
252252

253+
--tls-allow-insecure-ciphers bool, $CODER_TLS_ALLOW_INSECURE_CIPHERS (default: false)
254+
By default, only ciphers marked as 'secure' are allowed to be used.
255+
See
256+
https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L82-L95.
257+
253258
--tls-cert-file string-array, $CODER_TLS_CERT_FILE
254259
Path to each certificate for TLS. It requires a PEM-encoded file. To
255260
configure the listener to use a CA certificate, concatenate the
256261
primary certificate and the CA certificate together. The primary
257262
certificate should appear first in the combined file.
258263

264+
--tls-ciphers string-array, $CODER_TLS_CIPHERS
265+
Specify specific TLS ciphers that allowed to be used. See
266+
https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L53-L75.
267+
259268
--tls-client-auth string, $CODER_TLS_CLIENT_AUTH (default: none)
260269
Policy the server will follow for TLS Client Authentication. Accepted
261270
values are "none", "request", "require-any", "verify-if-given", or

0 commit comments

Comments
 (0)