rust-keylime icon indicating copy to clipboard operation
rust-keylime copied to clipboard

Integrate authentication middleware into ResilientClient

Open sergio-correia opened this issue 4 months ago • 1 comments

Here we integrated authentication middleware into ResilientClient with automatic token management and refresh, establishing an authentication system that transparently handles TPM-based challenge-response authentication for HTTP clients.

sergio-correia avatar Sep 03 '25 11:09 sergio-correia

Codecov Report

:x: Patch coverage is 38.46154% with 408 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 57.39%. Comparing base (fb2b083) to head (a4dc10f).

Files with missing lines Patch % Lines
keylime/src/auth.rs 44.59% 205 Missing :warning:
keylime/src/resilient_client.rs 44.52% 76 Missing :warning:
keylime/src/context_info.rs 5.08% 56 Missing :warning:
keylime/src/error.rs 23.68% 29 Missing :warning:
keylime-push-model-agent/src/attestation.rs 31.81% 15 Missing :warning:
keylime-push-model-agent/src/main.rs 13.33% 13 Missing :warning:
keylime/src/structures/sessions.rs 22.22% 7 Missing :warning:
keylime-push-model-agent/src/state_machine.rs 0.00% 6 Missing :warning:
keylime/src/https_client.rs 0.00% 1 Missing :warning:
Additional details and impacted files
Flag Coverage Δ
e2e-testsuite 57.39% <38.46%> (-0.79%) :arrow_down:
upstream-unit-tests 57.39% <38.46%> (-0.79%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
keylime-push-model-agent/src/struct_filler.rs 25.43% <ø> (ø)
keylime-push-model-agent/src/url_selector.rs 67.03% <100.00%> (+0.02%) :arrow_up:
keylime/src/config/base.rs 87.16% <100.00%> (+0.17%) :arrow_up:
keylime/src/config/push_model.rs 60.00% <ø> (ø)
keylime/src/https_client.rs 27.77% <0.00%> (+2.13%) :arrow_up:
keylime-push-model-agent/src/state_machine.rs 17.31% <0.00%> (-0.61%) :arrow_down:
keylime/src/structures/sessions.rs 22.22% <22.22%> (ø)
keylime-push-model-agent/src/main.rs 37.07% <13.33%> (-4.82%) :arrow_down:
keylime-push-model-agent/src/attestation.rs 42.94% <31.81%> (-1.82%) :arrow_down:
keylime/src/error.rs 9.02% <23.68%> (+1.08%) :arrow_up:
... and 3 more

... and 7 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Sep 03 '25 12:09 codecov[bot]