Commit 7604971
authored
fix(gax-httpjson): remove unsupported and deprecated PQC named groups (#14107)
### Description
Removes unsupported and deprecated named groups
(`X25519Kyber768Draft00`, `SecP256r1MLKEM768`, `MLKEM768`) from
`DEFAULT_CONSCRYPT_NAMED_GROUPS` in `HttpJsonConscryptUtils.java`.
- `X25519Kyber768Draft00` was a pre-standardization draft Kyber-768
curve removed in newer BoringSSL versions
(https://boringssl-review.googlesource.com/c/boringssl/+/99147).
Conscrypt uses BoringSSL under the hood and removing it from the default
groups prevents native BoringSSL `SSL_set1_groups` lookup failures and
`SSLHandshakeException: Error parsing groups`.
- `SecP256r1MLKEM768` and `MLKEM768` are unsupported named group strings
unrecognized by Conscrypt
(https://github.com/google/conscrypt/blob/master/CAPABILITIES.md#supported-named-groups).
This is only used in Conscrypt and will not be used by the JDK TLS
fallback.1 parent 148c1ac commit 7604971
2 files changed
Lines changed: 19 additions & 12 deletions
File tree
- sdk-platform-java/gax-java/gax-httpjson/src
- main/java/com/google/api/gax/httpjson
- test/java/com/google/api/gax/httpjson
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 61 | + | |
| 62 | + | |
73 | 63 | | |
74 | 64 | | |
75 | 65 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
46 | 63 | | |
0 commit comments