-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>
930c146
to
f0a8496
Compare
"scheme": "PARSEC_TPM", | ||
"type": "REFERENCE_VALUE", | ||
"attributes": { | ||
"parsec-tpm.alg-id": 1, |
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.
For consistency with Measurement Description (new change from #133 ) we should keep the Algorithm as a string.
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.
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 |
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.
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.
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.
I am following the convention we established in the scheme folder.
} | ||
o.instance = &i | ||
} | ||
|
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.
We should have some optional Vendor or Model as text associated to class
to describe an Attester, in addition to UEID()?
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.
This could be future work. Tracked in #139
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.
Let us discuss few of comments tomorrow and close this!
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!
Fix CCC-Attestation/attested-tls-poc#5