Repository navigation
feat(c-abi): expose mTLS client identity - #289
Merged
Merged
Conversation
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Error
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Failure
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Inactive
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 21:59 — with
GitHub Actions
Error
Allow Go and ODBC consumers to configure paired client certificates through the kernel C ABI, with hermetic handshake coverage across both TLS backends. Signed-off-by: Sreekanth Vadigi <sreekanth.vadigi@databricks.com>
sreekanth-db
force-pushed
the
feat/c-abi-mtls-client-certificate
branch
from
August 24, 2026 22:02
7d0250c to
a5a5d4f
Compare
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Failure
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Inactive
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Failure
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:02 — with
GitHub Actions
Inactive
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:03 — with
GitHub Actions
Inactive
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:03 — with
GitHub Actions
Inactive
Use an explicit IPv4 endpoint to avoid localhost resolution differences in CI and preserve kernel/server diagnostics when a handshake fails. Signed-off-by: Sreekanth Vadigi <sreekanth.vadigi@databricks.com>
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Inactive
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Failure
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Inactive
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Inactive
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:17 — with
GitHub Actions
Inactive
Keep the hermetic mTLS test focused on server-side client identity validation so platform-specific native server trust does not mask the behavior under test. Signed-off-by: Sreekanth Vadigi <sreekanth.vadigi@databricks.com>
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Inactive
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Inactive
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Inactive
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Failure
sreekanth-db
had a problem deploying
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Failure
sreekanth-db
temporarily deployed
to
azure-prod
August 24, 2026 22:25 — with
GitHub Actions
Inactive
vikrantpuppala
approved these changes
Aug 24, 2026
|
Kernel integration tests triggered. View status. Results post back here as the "Kernel Integration Tests" check. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
TlsConfig, preserving strict server verification and private-key redactionMotivation
The Rust kernel already supports mTLS through its core API, PyO3, and N-API bindings. Go and ODBC consumers use the C ABI, which currently exposes custom server trust and verification controls but has no way to provide the client identity.
This adds one atomic API:
Taking the certificate and key together prevents a partially configured identity at the C boundary. The certificate may contain the leaf followed by intermediates; an unencrypted PKCS#8 key is recommended for portability across the native-TLS and rustls backends.
Behavior and security
InvalidArgumentTlsConfigdebug outputTesting
Hermetic mTLS end-to-end tests
tests/c_abi_mtls_e2e.rsstarts a local rustls HTTPS server configured to require and verify client certificates. It exercises the complete path:C ABI setter -> kernel TlsConfig -> reqwest client -> TLS handshakeCovered cases:
The suite passes with both kernel TLS backends:
cargo test --test c_abi_mtls_e2e— 3 passedcargo test --no-default-features --features tls-rustls --test c_abi_mtls_e2e— 3 passedUnit and C-ABI coverage
InvalidArgumentwithout mutating TLS statetests/c/session_smoke.ccompiles and calls the exported symbol from a real C consumer, including success and missing-half rejection casesRegression validation
cargo test— 1,040 passed, 63 ignoredcargo clippy --all-targets -- -D warnings— passedcargo fmt --check— passedgit diff --check— passedFollow-up
After this lands, the Go driver can pin the merged kernel revision and add its kernel-specific client-certificate option without depending on an unmerged kernel branch.