Skip to content
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 TCG RIM extensions #40

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add TCG RIM extensions #40

wants to merge 5 commits into from

Conversation

thomas-fossati
Copy link
Contributor

Fix #36

Signed-off-by: Thomas Fossati <[email protected]>
Signed-off-by: Thomas Fossati <[email protected]>
Fix #36

Signed-off-by: Thomas Fossati <[email protected]>
@thomas-fossati
Copy link
Contributor Author

/cc @tarunbang

@@ -0,0 +1,31 @@
// Copyright 2020 Contributors to the Veraison project.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this file go under extensions/ folder ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to create another package?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All extensions (for future) can reside there. Is it not much neater rather than residing in the base package ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The separation is not that clear cut: one still needs to put the extension structures inside the base package structures, so it's not like you have two independent packages that you can decide whether to compose (or not), you always have to have both.


type AnyURI string

type TcgRimReferenceMeasurementEntry struct {
Copy link

@yogeshbdeshpande yogeshbdeshpande Jul 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please refer to the spec where this extension CDDL is defined ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in c34b2ba

Signed-off-by: Thomas Fossati <[email protected]>
FirmwareManufacturerID *uint64 `cbor:"68,keyasint,omitempty" json:"firmware-manufacturer-id,omitempty"`
FirmwareManufacturerName *string `cbor:"69,keyasint,omitempty" json:"firmware-manufacturer-name,omitempty"`
FirmwareModelName *string `cbor:"70,keyasint,omitempty" json:"firmware-model-name,omitempty"`
FirmwareVersion *uint64 `cbor:"71,keyasint,omitempty" json:"firmware-version,omitempty"`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why ? boot-events => [ * boot-event-entry ],
is skipped?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be I am referring to this: https://datatracker.ietf.org/doc/html/draft-birkholz-rats-coswid-rim-02

This is out of sync to the reference you mentioned above...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is definitely a question for @henkbirkholz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: TCG RIM Support
2 participants