Skip to content

chore(generator): add post-quantum cryptography (PQC) integration tests#17586

Open
ohmayr wants to merge 12 commits into
mainfrom
feat-pqc-verification
Open

chore(generator): add post-quantum cryptography (PQC) integration tests#17586
ohmayr wants to merge 12 commits into
mainfrom
feat-pqc-verification

Conversation

@ohmayr

@ohmayr ohmayr commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Adds integration tests against showcase to verify that our libraries support PQC TLS key exchange.

To verify, you can run nox -s showcase_pqc.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for mTLS in REST transport fixtures within conftest.py and introduces a new integration test in test_pqc.py to verify Post-Quantum Cryptography (PQC) negotiation with the Showcase server. The review feedback highlights several critical improvements: resolving a compatibility issue with urllib3 v2.0+ by overriding cert_verify instead of using assert_hostname in PoolManager, adding defensive None checks for gRPC metadata and interceptor attributes to prevent runtime errors, and avoiding shadowing the built-in dir function.

Comment thread packages/gapic-generator/tests/system/conftest.py Outdated
Comment thread packages/gapic-generator/tests/system/conftest.py Outdated
Comment thread packages/gapic-generator/tests/system/conftest.py
Comment thread packages/gapic-generator/tests/system/conftest.py Outdated
Comment thread packages/gapic-generator/tests/system/conftest.py Outdated
Comment thread packages/gapic-generator/tests/system/test_pqc.py Outdated
@ohmayr ohmayr force-pushed the feat-pqc-verification branch from e6c889a to 2d0fe09 Compare July 7, 2026 06:11
@ohmayr ohmayr changed the title feat: add post-quantum cryptography (PQC) integration tests and fixtures chore(generator): add post-quantum cryptography (PQC) integration tests Jul 16, 2026
@ohmayr ohmayr marked this pull request as ready for review July 16, 2026 22:10
@ohmayr ohmayr requested a review from a team as a code owner July 16, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant