You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pqc-verification/README.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,35 +66,38 @@ If successful, you will see `BUILD SUCCESS` and both `testGrpcPqc` and `testHttp
66
66
67
67
---
68
68
69
-
## 4. Standalone BigQuery PQC Tracing Sample
69
+
## 4. Standalone BigQuery PQC Verification Sample
70
70
71
-
The class `BqPqcTest` runs a live connection to Google Cloud BigQuery, intercepts TLS sockets, and traces the negotiated curve/groups to verify `X25519MLKEM768` is used.
71
+
The class `BqPqcTest` runs a live connection to Google Cloud BigQuery using the default client settings. Since the PQC changes are enabled by default in the underlying HTTP client transport, this sample does not require any custom PQC configurations.
72
72
73
-
### Run with Maven
74
-
To execute the BigQuery trace sample:
73
+
### Run the Sample
74
+
You can run the sample directly from your IDE, or via Maven. The project ID is resolved automatically via Application Default Credentials (ADC), and TLS/SSL handshake tracing is configured programmatically:
If Conscrypt is configured correctly and your environment supports PQC, you will see output tracing the handshake:
84
+
The program will automatically intercept the TLS handshake and assert on the negotiated curve. If successful, you will see a validation summary at the end of execution:
85
+
85
86
```
86
87
[DEBUG] Java Version: 17.0.19
87
88
[DEBUG] Java Runtime: 17.0.19+10
88
89
[DEBUG] Java VM : OpenJDK 64-Bit Server VM (17.0.19+10)
89
-
[DEBUG] Conscrypt Version: 2.6.0
90
-
Registered Conscrypt provider at position 1.
91
-
Initializing BigQuery client for project: your-gcp-project-id
92
-
Listing datasets using BigQuery Client with TLS tracing...
93
-
[TLS TRACE] Handshake Completed
94
-
Protocol : TLSv1.3
95
-
CipherSuite: TLS_AES_128_GCM_SHA256
96
-
Curve Name : X25519MLKEM768 (via Conscrypt OpenSSLSocketImpl.getCurveNameForTesting)
97
-
Is PQC? : YES (Hybrid Post-Quantum)
90
+
Initializing default BigQuery client for project: your-gcp-project-id
0 commit comments