consul/.changelog
Mike Morris f8a2ae2606
agent: convert listener config to TLS types (#12522)
* tlsutil: initial implementation of types/TLSVersion

tlsutil: add test for parsing deprecated agent TLS version strings

tlsutil: return TLSVersionInvalid with error

tlsutil: start moving tlsutil cipher suite lookups over to types/tls

tlsutil: rename tlsLookup to ParseTLSVersion, add cipherSuiteLookup

agent: attempt to use types in runtime config

agent: implement b.tlsVersion validation in config builder

agent: fix tlsVersion nil check in builder

tlsutil: update to renamed ParseTLSVersion and goTLSVersions

tlsutil: fixup TestConfigurator_CommonTLSConfigTLSMinVersion

tlsutil: disable invalid config parsing tests

tlsutil: update tests

auto_config: lookup old config strings from base.TLSMinVersion

auto_config: update endpoint tests to use TLS types

agent: update runtime_test to use TLS types

agent: update TestRuntimeCinfig_Sanitize.golden

agent: update config runtime tests to expect TLS types

* website: update Consul agent tls_min_version values

* agent: fixup TLS parsing and compilation errors

* test: fixup lint issues in agent/config_runtime_test and tlsutil/config_test

* tlsutil: add CHACHA20_POLY1305 cipher suites to goTLSCipherSuites

* test: revert autoconfig tls min version fixtures to old format

* types: add TLSVersions public function

* agent: add warning for deprecated TLS version strings

* agent: move agent config specific logic from tlsutil.ParseTLSVersion into agent config builder

* tlsutil(BREAKING): change default TLS min version to TLS 1.2

* agent: move ParseCiphers logic from tlsutil into agent config builder

* tlsutil: remove unused CipherString function

* agent: fixup import for types package

* Revert "tlsutil: remove unused CipherString function"

This reverts commit 6ca7f6f58d268e617501b7db9500113c13bae70c.

* agent: fixup config builder and runtime tests

* tlsutil: fixup one remaining ListenerConfig -> ProtocolConfig

* test: move TLS cipher suites parsing test from tlsutil into agent config builder tests

* agent: remove parseCiphers helper from auto_config_endpoint_test

* test: remove unused imports from tlsutil

* agent: remove resolved FIXME comment

* tlsutil: remove TODO and FIXME in cipher suite validation

* agent: prevent setting inherited cipher suite config when TLS 1.3 is specified

* changelog: add entry for converting agent config to TLS types

* agent: remove FIXME in runtime test, this is covered in builder tests with invalid tls9 value now

* tlsutil: remove config tests for values checked at agent config builder boundary

* tlsutil: remove tls version check from loadProtocolConfig

* tlsutil: remove tests and TODOs for logic checked in TestBuilder_tlsVersion and TestBuilder_tlsCipherSuites

* website: update search link for supported Consul agent cipher suites

* website: apply review suggestions for tls_min_version description

* website: attempt to clean up markdown list formatting for tls_min_version

* website: moar linebreaks to fix tls_min_version formatting

* Revert "website: moar linebreaks to fix tls_min_version formatting"

This reverts commit 38585927422f73ebf838a7663e566ac245f2a75c.

* autoconfig: translate old values for TLSMinVersion

* agent: rename var for translated value of deprecated TLS version value

* Update agent/config/deprecated.go

Co-authored-by: Dan Upton <daniel@floppy.co>

* agent: fix lint issue

* agent: fixup deprecated config test assertions for updated warning

Co-authored-by: Dan Upton <daniel@floppy.co>
2022-03-24 15:32:25 -04:00
..
2020-10-09 10:51:37 -04:00
2021-04-14 19:41:04 -04:00
2021-04-14 11:50:15 -04:00
2021-05-20 12:57:15 -04:00
2021-08-25 19:46:21 -06:00
2021-08-25 19:46:21 -06:00
2021-11-11 16:09:00 -05:00
2021-11-04 16:52:54 -05:00
2021-11-12 16:10:36 -06:00
2021-12-02 11:41:08 -05:00
2022-01-19 17:28:53 -06:00
2022-03-02 16:44:13 -06:00
2020-10-13 18:16:33 -04:00
2020-08-28 23:01:04 +02:00
2020-09-15 13:33:55 -07:00
2020-09-14 14:16:47 -06:00
2020-09-10 18:53:36 +02:00
2020-09-02 10:48:11 -05:00
2020-09-15 10:05:23 -07:00
2020-09-25 12:03:49 -04:00
2020-10-20 16:42:06 -04:00
2020-10-09 08:01:55 -07:00
2021-05-18 15:04:12 -04:00
2020-10-07 10:22:40 -05:00
2021-04-06 17:12:10 +08:00
2020-12-30 14:09:50 -06:00
2020-11-11 11:33:38 -06:00
2020-11-09 17:29:06 -05:00
2020-11-17 10:35:56 -05:00
2020-11-13 14:31:14 -08:00
2020-11-20 18:23:01 +01:00
2020-11-30 17:27:39 +00:00
2021-03-16 18:22:25 -04:00
2021-01-05 13:05:42 -05:00
2021-01-20 18:18:46 +00:00
2021-02-26 17:08:33 -06:00
2021-01-29 16:08:39 +00:00
2021-03-11 11:47:35 -08:00
2021-02-08 09:45:58 -07:00
2021-02-08 18:16:07 +01:00
2021-02-16 12:52:23 -05:00
2021-03-11 09:46:53 -08:00
2021-03-09 09:30:01 +00:00
2021-03-17 10:46:21 +00:00
2021-04-29 13:54:05 -05:00
2021-03-17 22:09:02 -06:00
2021-06-14 17:01:16 -04:00
2021-05-04 12:41:43 -07:00
2021-04-27 14:29:48 -04:00
2021-07-14 17:50:00 -04:00
2021-04-15 13:58:28 -06:00
2021-04-14 16:51:21 -04:00
2021-05-03 16:19:09 +01:00
2021-04-27 19:03:17 -04:00
2021-04-29 12:08:03 -04:00
2021-05-04 14:09:14 -04:00
2021-05-06 18:35:52 -04:00
2021-05-21 11:08:50 -04:00
2021-06-02 17:39:30 -04:00
2021-06-15 12:05:52 -04:00
2021-07-26 17:53:32 -04:00
2021-06-15 14:15:30 -06:00
2021-06-17 12:06:26 -07:00
2021-07-07 09:41:01 -04:00
2021-07-06 17:57:36 -04:00
2021-07-06 18:39:40 -04:00
2021-07-15 09:27:46 -06:00
2021-07-28 17:50:01 -04:00
2021-07-30 09:58:11 -07:00
2021-08-18 12:54:11 -04:00
2021-08-20 17:40:33 -06:00
2021-09-20 12:52:19 -05:00
2021-09-22 10:57:36 -07:00
2021-09-29 12:45:42 -04:00
2021-10-19 20:58:28 +01:00
2021-10-20 16:02:14 +05:30
2021-10-27 02:33:36 +03:00
2021-10-21 16:18:32 -04:00
2021-10-21 13:21:22 -04:00
2021-11-10 14:53:52 -05:00
2021-11-01 22:47:20 +00:00
2021-11-09 09:32:27 -08:00
2021-11-08 17:14:27 -07:00
2021-12-02 15:54:40 -08:00
2021-12-21 16:45:45 -05:00
2021-12-13 19:03:12 -07:00
2022-01-05 17:51:03 -05:00
2022-01-04 16:08:06 +00:00
2022-02-02 17:31:08 -08:00
2022-01-06 14:09:13 -05:00
2022-01-12 12:00:18 -05:00
2022-01-12 12:31:28 -08:00
2022-01-18 13:03:22 -05:00
2022-01-24 12:32:22 -08:00
2022-02-10 17:21:34 -07:00
2022-02-03 17:39:36 -05:00
2022-03-01 09:25:52 +01:00
2022-02-14 13:48:52 -06:00
2022-02-15 14:15:34 -05:00
2022-02-17 12:17:12 -08:00
2022-02-25 19:29:00 +05:30
2022-02-25 15:43:06 +00:00
2022-02-24 17:05:55 -08:00
2022-03-10 18:48:27 -08:00
2022-03-02 17:00:02 -06:00
2022-03-07 14:39:33 -05:00
2020-10-09 22:44:51 -04:00