Skip to content

Commit ce88e4a

Browse files
committed
address feedback
1 parent fbc8830 commit ce88e4a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/gapic-generator/tests/system/test_pqc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ 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 an MLKEM group (e.g. X25519MLKEM768) was negotiated.
38-
# Substring check ("MLKEM" in ...) allows compatibility across gRPC and REST implementation strings.
37+
# Enforce PQC compliance by verifying a post-quantum MLKEM hybrid group was negotiated.
38+
# Substring check ("MLKEM" in ...) ensures compatibility across different transport and library group strings.
3939
assert (
4040
"MLKEM" in negotiated_group
41-
), f"Failed: {transport_name} Connection did not negotiate an MLKEM group (e.g. X25519MLKEM768)! Negotiated: {negotiated_group}"
41+
), f"Failed: {transport_name} Connection did not negotiate a post-quantum MLKEM group! Negotiated: {negotiated_group}"
4242

4343

4444
def test_pqc_grpc(intercepted_echo_grpc):

0 commit comments

Comments
 (0)