GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Auto-port 5.0: Remove note about needing 256-bit for PQC (#16614) · netty/netty@55d390e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • handler/src/test/java/io/netty/handler/ssl
    • PkiTestingTlsTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java‎

Copy file name to clipboardExpand all lines: handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java
+2-9Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import org.junit.jupiter.params.provider.ValueSource;
4141

4242
import java.util.ArrayList;
43-
import java.util.Arrays;
4443
import java.util.List;
4544
import java.util.concurrent.TimeUnit;
4645
import java.util.stream.Stream;
@@ -157,15 +156,10 @@ void connectWithX25519MLKEM768(boolean configureViaParameter) throws Exception {
157156
.subject("CN=localhost")
158157
.buildSelfSigned();
159158

160-
// Disable 128-bit ciphers so only 256-bit ciphers remain.
161-
String[] ciphers = {"TLS_AES_256_GCM_SHA384",
162-
"TLS_CHACHA20_POLY1305_SHA256"};
163-
164159
String[] groups = new String[]{"X25519MLKEM768"};
165160
SslContextBuilder serverBuilder = SslContextBuilder.forServer(cert.toKeyManagerFactory())
166161
.sslProvider(SslProvider.OPENSSL)
167-
.protocols("TLSv1.3")
168-
.ciphers(Arrays.asList(ciphers));
162+
.protocols("TLSv1.3");
169163

170164
if (!configureViaParameter) {
171165
serverBuilder.option(OpenSslContextOption.GROUPS, groups.clone());
@@ -176,8 +170,7 @@ void connectWithX25519MLKEM768(boolean configureViaParameter) throws Exception {
176170
.trustManager(cert.toTrustManagerFactory())
177171
.sslProvider(SslProvider.OPENSSL)
178172
.serverName(new SNIHostName("localhost"))
179-
.protocols("TLSv1.3")
180-
.ciphers(Arrays.asList(ciphers));
173+
.protocols("TLSv1.3");
181174

182175
if (!configureViaParameter) {
183176
clientBuilder.option(OpenSslContextOption.GROUPS, groups.clone());

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.