-
Notifications
You must be signed in to change notification settings - Fork 173
add config options for the persisted idevid and iak handles, passwords #1551
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
add config options for the persisted idevid and iak handles, passwords #1551
Conversation
…ords Signed-off-by: Isaac-Matthews <isaac.matthews@hpe.com>
Signed-off-by: Isaac-Matthews <isaac.matthews@hpe.com>
|
Given that keylime/rust-keylime#785 was already merged, I see no reason to delay the merging of this PR. However, I do see an error on |
We can either keep Rawhide tests running but ignore known failures or disable Rawhide tests completely. I would prefer to do the earlier since those Rawhide failures may give us early warning, the issue would most likely appear in Fedora stable later. However, would you know why tests are failing in this particular case? In the 2nd test I see which might be a but in the package or in the test, I will look into it. @ansasaki Would you know what's happening here? |
This is weird. What the test does is:
Looking into the logs, the "old" version was compiled and run correctly with the old API version. Then, the new binary should be restored from the backup and run with then new API version to trigger the bump detection, but it is still using the API version Since the preinstalled version is correct, it should be running with the new API version after restoring the backup. My suspicion is that maybe the preinstalled binary, for some reason, is in another place in Rawhide (not in |
|
I have tracked all these issue down to different packages. I believe it is safe to merge this PR. |
|
Just a note that the changes here are only valid while the version If this PR is not included in @maugustosilva FYI |
|
@kkaarreell I have no fundamental opposition on keep rawhide running in an "advisory" capacity (i.e., a failure there does not block anything). I will just have to formalize it at our next monthly meeting. Thanks. |
OK. This is a "risk" of running e2e tests, they are dependencies outside of the keylime scope and any of them can introduce a regression. This time rpm (btw, https://bugzilla.redhat.com/show_bug.cgi?id=2291183 has a fix already), usually it is selinux-policy (we ignore AVCs on Rawhide) or some tpm2-* package. Rawhide is just a bit more exposed but it may happen on other Fedoras or CS as well. Anyway, I think things are on a good track and we should see Rawhide tests green again in a few days. |
Fixes #1549
Adds config options to the templates for the IDevID and IAK handles if the keys have been persisted, and their passwords if they are password protected.
These are the template changes for the Rust agent changes here PR 785.