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 — docs: Add a Http/Json Post-Quantum Cryptography Guide by lqiu96 · Pull Request #13963 · googleapis/google-cloud-java

Conversation

@lqiu96

@lqiu96 lqiu96 commented Jul 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Part 1 of a stack to add pqc guide. This guide is first about Http/Json and a follow up will be with gRPC.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Jul 30, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 introduces a comprehensive Post-Quantum Cryptography (PQC) User Guide for HTTP/JSON Java Client Libraries. The guide details the quantum threat, library support, Conscrypt integration, platform compatibility, and custom configurations. The review feedback correctly identifies that NetHttpTransport.Builder lacks a setSecurityProvider method in the custom configuration example and provides a valid code suggestion to configure an SSLContext with the custom provider instead.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

blakeli0
blakeli0 reviewed Jul 30, 2026
View reviewed changes
Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

lqiu96 added 7 commits September 2, 2026 17:47
@lqiu96
docs: add Post-Quantum Cryptography (PQC) User Guide
ae83cf5
@lqiu96
docs: refine PQC user guide for HTTP/JSON transport with verification…
d588590
… steps and locally scoped security providers
@lqiu96
docs: remove mTLS/gRPC references, add default algorithms and fallbac…
12cd1a6
…k flow, and format JDK 27 as addendum
@lqiu96
docs: refine HTTP/JSON PQC guide with exact versions, concise intro, …
6130088
…and custom provider builder examples
@lqiu96
docs: reorganize HTTP/JSON PQC guide with versions first and clarify …
ea4e04e
…JDK 27 addendum scope
@lqiu96
docs: update PQC guide with debug-level logging and prominent WARNING…
8b53517
… callout on user responsibility
@lqiu96
docs: revamp Post-Quantum Cryptography guide for HTTP/JSON transport
4470661
- Frame PQC concepts with beginner-friendly explanations and the two-lock hybrid analogy.
- Clarify transport scope: focus exclusively on HTTP/JSON transport and note gRPC coverage in a future PR.
- Document handshake size overhead (~1-2KB) and negligible runtime API latency impact due to connection pooling.
- Detail deployment compatibility matrix covering glibc Linux, Alpine/musl fallback, and hardened noexec /tmp filesystems.
- Add prominent warning on silent fallback tradeoff between high availability and strict regulatory compliance.
- Provide step-by-step verification instructions using GAX debug logs and JVM -Djavax.net.debug=ssl:handshake output.
- Present modular, non-prescriptive configuration choices (default Conscrypt, classical-only X25519, pure JDK JSSE, dependency exclusion, and custom Bouncy Castle provider).
- Add future outlook on OpenJDK native ML-KEM support in JDK 27+.
@lqiu96
lqiu96 force-pushed the pqc-user-guide branch from 67661f5 to 4470661 Compare September 2, 2026 17:50
lqiu96 added 4 commits September 2, 2026 18:03
@lqiu96
docs: address review comments on PQC user guide
f1d2cd6
- Add Wikipedia link to Shor's algorithm.
- Remove conversational introductory phrasing in threat section.
- Frame hybrid key exchange as an example rather than a standard.
- Remove redundant audience phrasing and generalize endpoint references.
- Remove gRPC transport scope section to keep guide focused on HTTP/JSON.
- Add OpenJDK link to JEP 496.
- Align default named groups list with DEFAULT_CONSCRYPT_NAMED_GROUPS in gax-httpjson.
- Clarify fallback to configured security provider (defaulting to standard JDK JSSE).
- Moderate latency assertions and encourage user benchmarking.
- Remove unsubstantiated CPU benchmark assertions.
- Neutralize Alpine Linux options and suggest alternative security providers like Bouncy Castle.
- Clean up custom configuration options to only include actionable alternative setups.
@lqiu96
docs: address additional review feedback on PQC user guide
5d56267
@lqiu96
docs: refine PQC user guide based on review comments
4615c3e
@lqiu96
docs: address review comments on PQC user guide
7a23836
@lqiu96

lqiu96 commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

/gemini review

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lqiu96
lqiu96 requested a review from blakeli0 September 2, 2026 18:34
@lqiu96
Merge branch 'main' into pqc-user-guide
f0ad398
@lqiu96
lqiu96 marked this pull request as ready for review September 2, 2026 18:34
@lqiu96
lqiu96 requested review from a team as code owners September 2, 2026 18:34
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Sep 2, 2026
View reviewed changes

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 introduces a comprehensive Post-Quantum Cryptography (PQC) user guide for HTTP/JSON Java client libraries. The feedback points out that the code examples in the custom configuration section use non-existent methods on NetHttpTransport.Builder (specifically setSslSocketConfigurator and setSecurityProvider). To resolve this, the examples should be updated to configure a custom SSLSocketFactory or SSLContext and apply it via setSslSocketFactory.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@lqiu96 lqiu96 mentioned this pull request Sep 2, 2026
docs: Add gRPC Post-Quantum Cryptography Guide #14245
Merged
blakeli0
blakeli0 reviewed Sep 2, 2026
View reviewed changes
Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

lqiu96 added 3 commits September 3, 2026 15:04
@lqiu96
docs: address review comments on PQC user guide
cdc8ad7
@lqiu96
docs: remove external PQC background links
1ffb7e9
@lqiu96
docs: add references to official Google Cloud PQC documentation
f0b69d8
@lqiu96
lqiu96 requested a review from blakeli0 September 3, 2026 15:11
lqiu96 added 3 commits September 3, 2026 18:18
@lqiu96
docs: simplify introductory PQC section and add official Google refer…
1d9df62
…ences
@lqiu96
docs: streamline platform section and highlight GraalVM
ed25d37
@lqiu96
docs: simplify HTTP/JSON handshake negotiation and remove redundant d…
97b84b7
…iagram
lqiu96 added 4 commits September 3, 2026 19:29
@lqiu96
docs: dedicate section to fallback mechanics, triggers, implications,…
518b6b7
… and compliance
@lqiu96
docs: remove verbose transport connection characteristics section
5906f5f
@lqiu96
docs: streamline BOM recommendation, Conscrypt bridge, supported grou…
7e88adc
…ps, and fallback section
@lqiu96
docs: simplify scoped provider, link Conscrypt capabilities, remove w…
cc94dad
…arning example, and rename to Fallback Implications
blakeli0
blakeli0 reviewed Sep 3, 2026
View reviewed changes
Comment thread docs/post_quantum_cryptography_guide.md Outdated
The cryptographic landscape is continually advancing. The OpenJDK community is integrating standardized post-quantum algorithms directly into the Java platform:
- **[JEP 496](https://openjdk.org/jeps/496) (ML-KEM)**: Introduces native implementations of NIST FIPS 203 (Module-Lattice-Based Key-Encapsulation Mechanism) into OpenJDK's standard security providers (`SunJSSE` and `SunJCE`), targeted for **JDK 27+**.
- **What this means for Google Cloud Java**: Once JDK 27 becomes standard in production environments, Java applications will be capable of negotiating hybrid and pure post-quantum TLS natively without requiring JNI shared libraries or third-party dependencies like Conscrypt.
- **Future-Proofing**: As native JDK capabilities mature, Google Cloud Java client libraries will adapt to take advantage of built-in JVM providers, preserving a seamless, zero-maintenance security upgrade path for all users.

@blakeli0 blakeli0 Sep 3, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Suggested change
- **Future-Proofing**: As native JDK capabilities mature, Google Cloud Java client libraries will adapt to take advantage of built-in JVM providers, preserving a seamless, zero-maintenance security upgrade path for all users.

I don't think we want to commit to this.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lqiu96 lqiu96 Sep 4, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/post_quantum_cryptography_guide.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@lqiu96
docs: update JDK 27 section title, link to Option 2, and remove futur…
4aaa7dc
…e-proofing commitment
blakeli0
blakeli0 approved these changes Sep 4, 2026
View reviewed changes
@lqiu96
lqiu96 merged commit fcc65b0 into main Sep 5, 2026
198 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@lqiu96
lqiu96 deleted the pqc-user-guide branch September 5, 2026 01:07
@lqiu96 lqiu96 added the release-please:force-run To run release-please label Sep 5, 2026
@release-please release-please Bot removed the release-please:force-run To run release-please label Sep 5, 2026
This was referenced Sep 22, 2026
chore(main): release 1.92.0 #14480
Closed
chore(main): release 1.92.0 #14487
Closed
chore(main): release 1.92.0 #14491
Merged
blakeli0 pushed a commit that referenced this pull request Sep 23, 2026
@release-please
chore(main): release 1.92.0 (#14491)
76cd7d9
🤖 I have created a release *beep* *boop*
---


<details><summary>1.92.0</summary>

##
[1.92.0](v1.91.0...v1.92.0)
(2026-09-23)


### Features

* **bigquery-jdbc:** add `EnableTimestampPicos` connection property and
its plumbing
([#14284](#14284))
([b4aa5ac](b4aa5ac))
* **bigquery-jdbc:** implement picosecond temporal math and formatting
engine
([#14286](#14286))
([2a9612a](2a9612a))
* **bigquery-jdbc:** support picosecond in REST JSON path and nested
types
([#14334](#14334))
([15ffe4a](15ffe4a))
* **bigquery-jdbc:** support picosecond in `PreparedStatement`
parameters and batching
([#14373](#14373))
([c1aac66](c1aac66))
* **bigquery-jdbc:** support picosecond timestamp in `ResultSetMetaData`
and `DatabaseMetaData`
([#14358](#14358))
([43acdd3](43acdd3))
* **bigquery-jdbc:** support picosecond timestamps in Arrow Storage Read
API and nested types
([#14332](#14332))
([b5d9aca](b5d9aca))
* **bigquery-jdbc:** support qualified project delimiter in
`DefaultDataset` property
([#14240](#14240))
([6e8d6c8](6e8d6c8))
* **bigquery:** accelerate row-based query() with Arrow wire format
([#14405](#14405))
([8d12a8f](8d12a8f))
* **bigquery:** add ArrowDeserializer helper utility
([#13943](#13943))
([d9a298b](d9a298b))
* **bigquery:** add ArrowQueryPageFetcher for Arrow query result
pagination
([#14404](#14404))
([615409f](615409f))
* **bigquery:** add ArrowQueryResult and ArrowQueryResultImpl for Arrow
result streaming
([#13944](#13944))
([a62fdf8](a62fdf8))
* **bigquery:** add Storage Read API slow-path fallback for row-based
query()
([#14409](#14409))
([26e568a](26e568a))
* **bigquery:** add zero-copy queryArrow API for Arrow VectorSchemaRoot
streaming
([#14402](#14402))
([b44ffe8](b44ffe8))
* **bigquery:** make BigQuery AutoCloseable with default no-op close
method
([#14434](#14434))
([00bf3de](00bf3de))
* **firestore:** add support for BSON types
([#13189](#13189))
([8a123d9](8a123d9))
* **gax:** add ApiCallContext and request-level settings overloads to
ResumableUploadCallable
([#14251](#14251))
([e8cbd42](e8cbd42))
* **gax:** add globalTimeout settings field to
ResumableUploadCallSettings
([#14253](#14253))
([438cda6](438cda6))
* **gax:** add resumable upload error classification and retry algorithm
([#14419](#14419))
([b70396d](b70396d))
* **gax:** add ResumableUploadCallable creation to Callables and
HttpJsonCallableFactory
([#14242](#14242))
([7de24de](7de24de))
* **gax:** implement baseline Callable and Future for resumable uploads
([#14241](#14241))
([5a54db9](5a54db9))
* **generator:** add model flag and allowlist parser for resumable
upload RPCs
([#14317](#14317))
([acc1856](acc1856))
* **generator:** emit resumable upload client surface
([#14319](#14319))
([a9fed00](a9fed00))
* **generator:** emit resumable upload settings and HttpJson upload stub
([#14321](#14321))
([c122474](c122474))
* **generator:** enable resumable upload generation for showcase
([#14325](#14325))
([f9ebd79](f9ebd79))
* **generator:** switch resumable upload specialized stubs to package
private
([#14471](#14471))
([0d4e875](0d4e875))
* **generator:** wire transport stub delegation to resumable upload
stubs
([#14322](#14322))
([cc4b980](cc4b980))
* **google/cloud/backupdr/v1beta:** add backupdr
([#14410](#14410))
([a4a47da](a4a47da))
* **google/cloud/networkservices/v1beta1:** add networkservices
([#14407](#14407))
([21c4955](21c4955))
* **pubsub:** add publish telemetry headers for publish attempt
observability
([#14338](#14338))
([c167ab8](c167ab8))
* **pubsub:** implement publish hedging to reduce tail latency
([#13735](#13735))
([b302615](b302615))
* **spanner:** Support dynamic TLS certificate and key rotation for
Spanner Omni
([#14456](#14456))
([ffc745c](ffc745c))
* **storage/control:** add delete folder recursive sample
([#13642](#13642))
([f4b1b46](f4b1b46))
* **storage/control:** add delete folder recursive sample
([#14397](#14397))
([2c01d55](2c01d55))


### Bug Fixes

* **auth:** restore transportFactory upon deserialization in
InternalAwsSecurityCredentialsSupplier
([#14340](#14340))
([beea42f](beea42f))
* **bigquery-jdbc:** ensure row ordering in PCNT IT
([#14330](#14330))
([a16f048](a16f048))
* **bigquery-jdbc:** fix htapi fallback due to permission logic
([#14418](#14418))
([21e6dc8](21e6dc8))
* **bigquery-jdbc:** fix Timestamp assertions
([#14290](#14290))
([533ba14](533ba14))
* **bigquery-jdbc:** handle null parameters in Storage Write API bulk
inserts
([#14270](#14270))
([dd2c41a](dd2c41a)),
refs
[#14066](#14066)
* **bigquery-jdbc:** handle SQL NULLs in ResultSet primitive getters
([#14383](#14383))
([8e464fe](8e464fe)),
refs
[#14371](#14371)
* **bigquery:** default Arrow pagination stream location to US instead
of global
([#14458](#14458))
([2775eb1](2775eb1))
* **bigquery:** preserve page token and paginate correctly in Arrow
query when maxResults is set
([#14469](#14469))
([f5601f4](f5601f4))
* **bigquery:** use first page row count for Arrow query pagination
offset
([#14466](#14466))
([9d10dd0](9d10dd0))
* **bigtable:** don't notify config listeners while holding the manager
lock
([#14294](#14294))
([4426ccd](4426ccd))
* **bigtable:** fall back to classic path when per-RPC CallCredentials
are set on session path
([#14477](#14477))
([57bacb0](57bacb0))
* **bigtable:** fix abnormal session closures and scale-up in session
pool
([#14431](#14431))
([6361ecd](6361ecd))
* **biqguery:** fix undeclared QueryParameter wiring in QueryStatistics
([#14401](#14401))
([64cf1d3](64cf1d3))
* **bom:** restore google-cloud-spanner-jdbc to libraries-bom
([#14362](#14362))
([bc7be5e](bc7be5e)),
refs
[#14347](#14347)
* **spanner:** honor maxAttempts and totalTimeout in streaming resume
loop
([#14370](#14370))
([305f47d](305f47d))
* **spanner:** only set snapshot isolation read timestamp for SI or
optimistic txns in CloudClientExecutor
([#14346](#14346))
([54c0d0f](54c0d0f))
* **spanner:** prevent statement cancellation race in
AbstractBaseUnitOfWork
([#14283](#14283))
([d9a8eef](d9a8eef))
* **spanner:** re-enable ITInstanceAdminTest on cloud-devel and
cloud-staging
([#14281](#14281))
([89a8268](89a8268))


### Performance Improvements

* **spanner:** stop re-parsing the request id on every RPC
([#14353](#14353))
([46108f4](46108f4))


### Documentation

* Add a Http/Json Post-Quantum Cryptography Guide
([#13963](#13963))
([fcc65b0](fcc65b0))
* **bigquery:** add QueryArrow code sample and document JDK 17+ JVM
requirements
([#14437](#14437))
([bd363f6](bd363f6))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
lqiu96 added a commit that referenced this pull request Sep 29, 2026
@lqiu96
docs: Add gRPC Post-Quantum Cryptography Guide (#14245)
340a239
## Summary
This pull request expands the Post-Quantum Cryptography (PQC) User Guide
in `docs/post_quantum_cryptography_guide.md` to cover **gRPC** transport
in addition to HTTP/JSON.

This PR is stacked on top of PR #13963 (`pqc-user-guide`).

### Highlights
- **General PQC Architecture**: Updates the guide to introduce PQC
concepts, the Store-Now, Decrypt-Later (SNDL) threat model, and hybrid
key exchange across Google Cloud Java client libraries.
- **Dedicated gRPC Transport Section (Section 3)**:
- Details the default `grpc-netty-shaded` transport engine bundling
BoringSSL (`netty-tcnative-boringssl-static`) with built-in PQC hybrid
key exchange support (`X25519MLKEM768`) in gRPC-Java 1.83.0+.
- Explains handshake negotiation with Google Cloud Front End (GFE)
endpoints and graceful fallback to classical TLS.
- Explains gRPC HTTP/2 long-lived multiplexed channels
(`ManagedChannel`) and how TLS overhead occurs once upon connection
establishment.
- **Verification (Section 7)**:
- Explains why standard JVM `-Djavax.net.debug` flags do not capture
gRPC handshakes when using `grpc-netty-shaded`.
- Documents Netty SSL debug logging
(`-Dio.grpc.netty.shaded.io.netty.handler.ssl=DEBUG`) and
`ClientInterceptor` response header verification.
- **Custom Configurations (Section 8)**:
- Documents custom Netty SSL context configuration via
`InstantiatingGrpcChannelProvider.Builder.setChannelConfigurator(...)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@blakeli0 blakeli0 blakeli0 approved these changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lqiu96 @blakeli0
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.