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

Support multiple token verifiers simultaneously #519

Open
fitzthum opened this issue Sep 30, 2024 · 3 comments
Open

Support multiple token verifiers simultaneously #519

fitzthum opened this issue Sep 30, 2024 · 3 comments

Comments

@fitzthum
Copy link
Member

Today we have to select which token verifier we want to use at configuration time. The KBS can't handle connections from multiple guests that got their tokens from different types of verifiers.

This probably isn't too big of a deal, but worth noting.

@fitzthum
Copy link
Member Author

Also note that different tokens store the tee pubkey in different places. We have the logic to extract this in the attestation code, which is not very generic. We might want to move this logic into the token verifier code.

@Xynnn007
Copy link
Member

Xynnn007 commented Oct 8, 2024

Nice idea. Luckily current ASes generate tokens all in JWT format, e.g. CoCo-AS Simple token, ITA Token, and potential EAR. So the difference would be the path of the tee public key of the JWT claim body. Most codes are the same.

@Xynnn007
Copy link
Member

Xynnn007 commented Oct 8, 2024

The question is how would KBS detect the concrete kind of the JWT token runtimely. Probably the iss field of the JWT? But CoCoAS could specify random issuer name when launching.

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

No branches or pull requests

2 participants