-
Notifications
You must be signed in to change notification settings - Fork 0
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
[RFC] Add an initial Open DICE profile implementation. #15
Conversation
NOTE: This depends on |
cb18e25
to
559d045
Compare
Hi Sergei, This looks good i have suggestion related to ExtractOpenDiceChainFromX509 You have following loop there:
If i undestand this code properly you are validating beginning of chain again and again. I would suggest following optimization:
Following test passes: func Test_ExtractOpenDiceChainFromX509(t *testing.T) If you change line 278 to be:
|
Hi Sampo, You're absolutely right, this was re-verifying the chain at each "segment". I've implemented your suggestion with a minor tweak. Thank you! |
Rename the source files for the TCG DICE extension in preparation to adding non-TCG related stuff. Signed-off-by: Sergei Trofimov <sergei.trofimov@arm.com>
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.
👍
- Add validation and claim extraction for Open DICE X.509 and CBOR certificate chains. - Add TCB into claim extension definition. Signed-off-by: Sergei Trofimov <sergei.trofimov@arm.com>
Add an innitial implmentation of validaiton and evidence extraction of Open DICE profile certificate chains.