-
Notifications
You must be signed in to change notification settings - Fork 7
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 EAT measured component to measurement-values-map
#395
base: main
Are you sure you want to change the base?
Conversation
Fix #381 Signed-off-by: Thomas Fossati <[email protected]>
cddl/measurement-values-map.cddl
Outdated
@@ -15,5 +15,6 @@ measurement-values-map = non-empty<{ | |||
? &(name: 11) => text | |||
? &(cryptokeys: 13) => [ + $crypto-key-type-choice ] | |||
? &(integrity-registers: 14) => integrity-registers | |||
? &(measured-component: 15) => measured-component |
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.
15 conflicts with the linear privlevel measurement PR.
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.
Oops, apologies. Will fix.
Signed-off-by: Thomas Fossati <[email protected]>
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.
LGTM!
I find the compositional aspects of "measured components" confusing. Given the mkey is already a compositional element with is sub-component of an environment, what does it mean to have a sub-sub-element called a "component"? It seems the basic idea of using triples to enumerate various components or sub-components is being side-stepped toward composition expressed in terms of nesting. Most of the values in a measured component already exist in the measurement-values-map like digest, version, flags / raw-value. Mkey can support text identifiers which seems to map to It seems like a straight forward mapping without defining another layer of composition inside of measurement-values-map. |
Fix #381