-
Notifications
You must be signed in to change notification settings - Fork 19
Ks push mb #911
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
base: main
Are you sure you want to change the base?
Ks push mb #911
Conversation
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Setup the push-attestation agent service in the same way as pull-attestation agent service. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Add a drop-in configuration file for the keylime_push_model_agent service to set the TCTI environment variable. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This adds an end-to-end test and a specific plan for push-attestation. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Change repositories to test Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewer's GuideThis PR introduces support for the push-model attestation agent across the test framework and functional tests by extending the test-helpers library, updating existing test scripts to parameterize the agent service, adding systemd unit drop-in configurations for the new service, and introducing a dedicated functional test suite for push attestation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey there - I've reviewed your changes - here's some feedback:
- In limeStartPushAgent you’re appending to __INTERNAL_limeTPMDetails without quoting the variable—please use "${__INTERNAL_limeTPMDetails}" to avoid word‐splitting.
- The TPM capability collection logic in limeStartPushAgent is duplicated; consider extracting it into a shared helper function for reuse across services.
- When appending TENANT_ARGS in the functional tests, wrap "${TENANT_ARGS}" in quotes or conditionally include it so that empty values don’t introduce stray spaces or syntax errors.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In limeStartPushAgent you’re appending to __INTERNAL_limeTPMDetails without quoting the variable—please use "${__INTERNAL_limeTPMDetails}" to avoid word‐splitting.
- The TPM capability collection logic in limeStartPushAgent is duplicated; consider extracting it into a shared helper function for reuse across services.
- When appending TENANT_ARGS in the functional tests, wrap "${TENANT_ARGS}" in quotes or conditionally include it so that empty values don’t introduce stray spaces or syntax errors.
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Summary by Sourcery
Add support for push attestation (push_model_agent) in test framework and setup, including helper functions, systemd unit configs, enhancements to existing tests, and a new functional test suite
New Features:
--push-model
and parameterize measured-boot tests to support starting the push agentEnhancements: