Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate tls id verification #2534

Merged

Conversation

zaharidichev
Copy link
Member

This PR is a non-functional change that consolidates TLS Id verification so parsing of certificates, SAN extraction and verification all happen in linkerd-meshtls-verifier crate. In order to make this possible the x509parser dependency has been introduced/

Signed-off-by: Zahari Dichev <[email protected]>
@zaharidichev zaharidichev requested a review from a team as a code owner November 20, 2023 07:50
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (8ce2df4) 67.62% compared to head (efd8782) 67.59%.

Files Patch % Lines
linkerd/meshtls/boring/src/server.rs 0.00% 7 Missing ⚠️
linkerd/meshtls/verifier/src/lib.rs 86.95% 3 Missing ⚠️
linkerd/meshtls/boring/src/client.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2534      +/-   ##
==========================================
- Coverage   67.62%   67.59%   -0.04%     
==========================================
  Files         341      340       -1     
  Lines       16108    16058      -50     
==========================================
- Hits        10893    10854      -39     
+ Misses       5215     5204      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

linkerd/meshtls/verifier/src/lib.rs Show resolved Hide resolved
@olix0r olix0r merged commit 374e75f into linkerd:main Nov 28, 2023
86 of 88 checks passed
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Nov 30, 2023
* Add a .codecov.yml (linkerd/linkerd2-proxy#2527)
* stack: Add BoxCloneSyncService (linkerd/linkerd2-proxy#2523)
* ci: Compute coverage over all tests (linkerd/linkerd2-proxy#2528)
* stack-metrics: Implement Clone for TrackService (linkerd/linkerd2-proxy#2524)
* ci: Fetch tarpaulin binary instead of compiling (linkerd/linkerd2-proxy#2532)
* ci: Enable coverage on main and all PRs (linkerd/linkerd2-proxy#2533)
* test: Cleanup consecutive_failures_accrue (linkerd/linkerd2-proxy#2531)
* test: Improve error reporting in gauges_endpoints (linkerd/linkerd2-proxy#2530)
* test: Cleanup outbound_balancer_waits_for_ready_endpoint (linkerd/linkerd2-proxy#2529)
* meshtls: Consolidate TLS ID verification (linkerd/linkerd2-proxy#2534)
* build(deps): bump DavidAnson/markdownlint-cli2-action (linkerd/linkerd2-proxy#2537)
* build(deps): bump tj-actions/changed-files from 40.1.1 to 40.2.0 (linkerd/linkerd2-proxy#2536)

Signed-off-by: Oliver Gould <[email protected]>
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Nov 30, 2023
* Add a .codecov.yml (linkerd/linkerd2-proxy#2527)
* stack: Add BoxCloneSyncService (linkerd/linkerd2-proxy#2523)
* ci: Compute coverage over all tests (linkerd/linkerd2-proxy#2528)
* stack-metrics: Implement Clone for TrackService (linkerd/linkerd2-proxy#2524)
* ci: Fetch tarpaulin binary instead of compiling (linkerd/linkerd2-proxy#2532)
* ci: Enable coverage on main and all PRs (linkerd/linkerd2-proxy#2533)
* test: Cleanup consecutive_failures_accrue (linkerd/linkerd2-proxy#2531)
* test: Improve error reporting in gauges_endpoints (linkerd/linkerd2-proxy#2530)
* test: Cleanup outbound_balancer_waits_for_ready_endpoint (linkerd/linkerd2-proxy#2529)
* meshtls: Consolidate TLS ID verification (linkerd/linkerd2-proxy#2534)
* build(deps): bump DavidAnson/markdownlint-cli2-action (linkerd/linkerd2-proxy#2537)
* build(deps): bump tj-actions/changed-files from 40.1.1 to 40.2.0 (linkerd/linkerd2-proxy#2536)

Signed-off-by: Oliver Gould <[email protected]>
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.

2 participants