-
Notifications
You must be signed in to change notification settings - Fork 19
Introduce functional/push-attestation-on-localhost #821
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?
Conversation
4a3d2f2
to
d5b042e
Compare
2d282b9
to
afe466d
Compare
afe466d
to
e224fe7
Compare
0f8d43a
to
c78d559
Compare
c78d559
to
54706e7
Compare
/packit retest-failed |
54706e7
to
5974d5f
Compare
TBH, I'm out of ideas on why the test does not pass. When I try running on my machine with a VM, it passes. |
Is it a fresh VM? Or freshly installed keylime with default config files? I do not have the insight but my attention took this record from agent log
2 seconds to next attestation while waiting 60 seconds... |
For now, the push-attestation prototype waits a fixed time of 60 seconds between attestations by default. I let the The problematic lines for me are the following:
What seems to happen is that something is executed between the initial attestation and attestation 1 that changes the IMA log and is not covered by the policy (it is not ignored). I did not try yet to find exactly what is the problem, but it should be possible by using the logs (maybe a job for the AI). |
043a3a2
to
c4b901e
Compare
/packit test |
/packit retest-failed |
/packit test |
c236e6c
to
1cceaa3
Compare
1cceaa3
to
722d4ad
Compare
/packit test |
1 similar comment
/packit test |
722d4ad
to
77a5a45
Compare
/packit test |
77a5a45
to
6bf8d04
Compare
/packit test |
2 similar comments
/packit test |
/packit test |
/packit retest-failed |
/packit test |
2 similar comments
/packit test |
/packit test |
ecafb31
to
0c5a8e9
Compare
0c5a8e9
to
efd67ba
Compare
Hi @stringlytyped , one of the failing tests had revealed that the verifier is way more verbose in the log, see Previously, there was just
we now have
and it keeps repeating in the log every two seconds. I am thinking whether this is really expected and desired. This is the complete test log |
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>
efd67ba
to
b1f798d
Compare
Add a simple end-to-end test for the push attestation