-
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
New Endorsement and Evidence Plugin for Parsec CCA scheme #166
Conversation
6a82b48
to
a0fcd66
Compare
41552b0
to
a967fde
Compare
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
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.
It looks like there is now a lot of code duplicated from CCA which is not exactly great maintenance-wise. I wonder whether we could factor out the common parts in a arm/cca package?
} | ||
|
||
lookupKey := arm.RefValLookupKey(SchemeName, tenantID, implID) | ||
log.Debug("PARSEC CCA Plugin Reference Value Look Up Key= %s\n", lookupKey) |
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 and all the other debug statements below should use the formatted version of the API. (I'm having a dejavu about this, but I can't remember the details.)
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 has not been addressed
token.TenantId, | ||
arm.MustImplIDString(parsecCca.Pat.PlatformClaims), | ||
) | ||
log.Debug("extracted Reference ID Key = %s", extracted.ReferenceID) |
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.
ditto (use the formatting version)
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 has not been addressed
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.
Thanks,
Edited Issue #173 to handle this case and noticed a similar correction required in plugin for cca-ssd-platform
.
Both plugins will be addressed by the above issue.
Any commonality between PSA/CCA and Parsec CCA has already been factored out. I will raise a separate github issue to factor out even further between the two schemes |
See issue #173 |
Signed-off-by: Yogesh Deshpande <[email protected]>
d9e7af7
to
2120443
Compare
@thomas-fossati I am merging this after incorporating all review comments. This is to unblock provisioning plugin refactor activity. If at all any more comments ( will be addressed via issue #173 ) |
I have unresolved the comments that were resolved without being actually addressed.
Merging to main is not the only way to unblock that activity: you could've branched off |
Fixes #171