-
Notifications
You must be signed in to change notification settings - Fork 31
Title: Scheme/parsec-tpm: Add TPM vendor and model information #345
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?
Changes from all commits
4441da9
257ff54
2bc0d50
463513d
2b059c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,10 @@ type SwAttr struct { | |
ClassID *string `json:"parsec-tpm.class-id"` | ||
Digest *[]byte `json:"parsec-tpm.digest"` | ||
PCR *uint `json:"parsec-tpm.pcr"` | ||
// Optional vendor information for the TPM | ||
Vendor *string `json:"parsec-tpm.vendor,omitempty"` | ||
// Optional model information for the TPM | ||
Model *string `json:"parsec-tpm.model,omitempty"` | ||
} | ||
|
||
type Endorsements struct { | ||
|
@@ -38,6 +42,10 @@ type TaAttr struct { | |
VerifKey *string `json:"parsec-tpm.ak-pub"` | ||
ClassID *string `json:"parsec-tpm.class-id"` | ||
InstID *string `json:"parsec-tpm.instance-id"` | ||
// Optional vendor information for the TPM | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not just the Trust Anchor but the supply chain for SwAttr (line 24) which also has class, needs the Optional Vendor and Model information There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok sir @yogeshbdeshpande |
||
Vendor *string `json:"parsec-tpm.vendor,omitempty"` | ||
// Optional model information for the TPM | ||
Model *string `json:"parsec-tpm.model,omitempty"` | ||
} | ||
|
||
type TaEndorsements struct { | ||
|
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.