Closed
Description
This is an issue for the rust-spiffe
repository when the JWT-SVID feature is merged in.
Currently validation of JWT-SVID tokens is done through the Workload API (ValidateJWTSVID
operation). However this creates the constraint of trusting the Workload API endpoint: the JWT-SVID is a secret and is a parameter of that call. If an attacker controls that socket then they have access of the authentication values of clients.
The validation could instead be done locally by fetching the trust bundle (the SPIFFE public keys) through the Bundle Endpoint which is authenticated.