-
Notifications
You must be signed in to change notification settings - Fork 53
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
cli: add maa token to the output of verify
command
#2172
Conversation
90ad0a2
to
3901cea
Compare
I didn't look to deep in it yet, but this seems to re-implement things we do in go-azguestattestation with another library. Maybe we can just do this constellation/internal/attestation/azure/snp/maa.go Lines 51 to 55 in ee0adfe
and print the returned claims? |
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 only reviewed the changes to CLI logic and did not review possible code overlap with go-azguestattestation
I've added validation for the JKU from the token against the URL from the ID/config file.
The library isn't that versatile. Especially claims are only parsed as map of string, but the JWT is a nested struct, so sub-structs would still need to be parsed afterwards. We could use |
fcbb7c9
to
29c4ea4
Compare
Signed-off-by: Paul Meyer <[email protected]>
29c4ea4
to
24c0c88
Compare
Proposed change(s)
Checklist