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

Parsec TPM endorsements #134

Merged
merged 1 commit into from
Apr 14, 2023
Merged

Parsec TPM endorsements #134

merged 1 commit into from
Apr 14, 2023

Conversation

thomas-fossati
Copy link
Contributor

Signed-off-by: Thomas Fossati <[email protected]>
"scheme": "PARSEC_TPM",
"type": "REFERENCE_VALUE",
"attributes": {
"parsec-tpm.alg-id": 1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

For consistency with Measurement Description (new change from #133 ) we should keep the Algorithm as a string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need consistency between the evidence and provisioning side of the same scheme.

@@ -0,0 +1,173 @@
// Copyright 2023 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0
package parsec_tpm
Copy link
Collaborator

Choose a reason for hiding this comment

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

As per:https://go.dev/blog/package-names?utm_source=dlvr.it&utm_medium=twitter

Package names
Good package names are short and clear. They are lower case, with no under_scores or mixedCaps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am following the convention we established in the scheme folder.

}
o.instance = &i
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

We should have some optional Vendor or Model as text associated to class
to describe an Attester, in addition to UEID()?

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 could be future work. Tracked in #139

Copy link
Collaborator

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

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

Let us discuss few of comments tomorrow and close this!

Copy link
Collaborator

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

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

LGTM!

@yogeshbdeshpande yogeshbdeshpande merged commit 620c4a7 into main Apr 14, 2023
@yogeshbdeshpande yogeshbdeshpande deleted the parsec-tpm-endorsements branch April 14, 2023 10:10
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.

Write provisioning plugin for Parsec (TPM) endorsements
2 participants