-
Notifications
You must be signed in to change notification settings - Fork 141
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
meta_data
field in the event
dictionary is a string
#712
Comments
To be honest I am scared to change the code, I found inconsistencies in the naming of the fields (meta_data / metadata, for example), and is created the agent dictionary in multiple places. Also the auto-ipsec demo deserialize the text field explicitly in the local_actions, that seems weird. |
Yes the naming should be consistent. The verifier API uses That this field is a string instead of a dictionary is because this data is added by the tenant and there all nested structures are converted to strings (same happens with for example the The verifier itself does nothing with the metadata information other sending it with an revocation event. Currently the only part of Keylime that consumes this information is |
From my part, I would support a PR that modifies the database schema in a way that: a) changes the column name from |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs. Thank you for your contributions. |
Environment
Description
During the execution of the
local_action_*.py
code, I try to inspect themeta_data
field, that is expected to be a dictionary. This field is a string of a dictionary and cannot be accessed. The same happen fortpm_policy
andvtpm_policy
:All the nested dictionaries are converted to string.
The text was updated successfully, but these errors were encountered: