-
Notifications
You must be signed in to change notification settings - Fork 12
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
Spiffe standard specifies jwt_svid or x509_svid for the 'use' field in JWK #19
Comments
Hi! I'm not sure I understand what you are trying to accomplish when you say you trying to validate the trust bundle from the agent. The library provides methods to fetch trust bundles and use them to validate JWT tokens. Could you provide some code snippets so I can understand better your scenario ? |
Hey! This is the only thing I have in my client:
I am sorry for the confusion I meant fetching the trust bundle, not validating. The important thing it this from the SPIFFE standard: https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE_Trust_Domain_and_Bundle.md#422-public-key-use |
Then having the
and that is giving you the error with the "use" field ? |
No, this call is giving me the error: fetch_jwt_bundles |
Oh I see, thanks for catching that. I'll open an issue on the repository for the |
Opened issue in |
Hi @huguesBouvier , I submitted a PR to the |
Thanks a lot! |
Hello,
I use the client library to validate a trust bundle from the agent, but I am getting the following error:
unknown variant
jwt-svid
, expectedsig
orenc
However jwt-svid is actually a correct field as per SPIFFE standard:
Please see: https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE_Trust_Domain_and_Bundle.md#422-public-key-use
The text was updated successfully, but these errors were encountered: