@@ -34,15 +34,15 @@ def _verify_pqc_metadata(interceptor, transport_name):
3434 assert negotiated_group is not None , "Failed: Showcase server did not return negotiated TLS group header."
3535 assert supported_groups is not None , "Failed: Showcase server did not return client advertised supported groups."
3636
37- # Enforce PQC compliance by verifying a post-quantum MLKEM hybrid group was negotiated.
37+ # Enforce PQC compliance by verifying a post-quantum MLKEM group was negotiated.
3838 # Substring check ("MLKEM" in ...) ensures compatibility across different transport and library group strings.
3939 assert (
4040 "MLKEM" in negotiated_group
4141 ), f"Failed: { transport_name } Connection did not negotiate a post-quantum MLKEM group! Negotiated: { negotiated_group } "
4242
4343
4444def test_pqc_grpc (intercepted_echo_grpc ):
45- """Verifies that the gRPC client library negotiates PQC (X25519MLKEM768) with Showcase server."""
45+ """Verifies that the gRPC client library negotiates post-quantum MLKEM with Showcase server."""
4646 # TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
4747 # Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
4848 if Version (grpc .__version__ ) < Version ("1.83.0rc0" ):
@@ -57,7 +57,7 @@ def test_pqc_grpc(intercepted_echo_grpc):
5757
5858
5959def test_pqc_rest (intercepted_echo_rest ):
60- """Verifies that the REST client library negotiates PQC (X25519MLKEM768) with Showcase server."""
60+ """Verifies that the REST client library negotiates post-quantum MLKEM with Showcase server."""
6161 client , interceptor = intercepted_echo_rest
6262 response = client .echo (request = showcase .EchoRequest (content = "Verify PQC connection." ))
6363 assert response .content == "Verify PQC connection."
@@ -66,7 +66,7 @@ def test_pqc_rest(intercepted_echo_rest):
6666
6767@pytest .mark .asyncio
6868async def test_pqc_grpc_async (intercepted_echo_grpc_async ):
69- """Verifies that the async gRPC client library negotiates PQC (X25519MLKEM768) with Showcase server."""
69+ """Verifies that the async gRPC client library negotiates post-quantum MLKEM with Showcase server."""
7070 # TODO(https://github.com/googleapis/google-cloud-python/issues/17752):
7171 # Remove this check once grpcio >= 1.83.0 is enforced across all client libraries.
7272 if Version (grpc .__version__ ) < Version ("1.83.0rc0" ):
0 commit comments