Repository navigation
Conversation
shiju-nv
changed the base branch from
main
to
shiju-nv/sandbox-spiffe-provider-identity
November 28, 2026 20:43
2 of 8 tasks
shiju-nv
force-pushed
the
feat/6049-supervisor-workload-assertions/shiju-nv
branch
from
November 28, 2026 21:43
7d9cea7 to
d657bba
Compare
shiju-nv
force-pushed
the
shiju-nv/sandbox-spiffe-provider-identity
branch
from
November 28, 2026 21:43
b8035a1 to
b68c1cf
Compare
shiju-nv
force-pushed
the
feat/6049-supervisor-workload-assertions/shiju-nv
branch
from
November 28, 2026 23:36
d657bba to
dd1e11f
Compare
shiju-nv
force-pushed
the
shiju-nv/sandbox-spiffe-provider-identity
branch
from
November 28, 2026 23:36
b68c1cf to
dec8cec
Compare
Add the contract that the gateway and a compute driver share to give each dedicated supervisor a SPIFFE identity for provider grants. - A capability, openshell.compute.provider-workload-identity, for a driver that gives each dedicated supervisor a Workload API socket and marks it with its launch SPIFFE ID. - The launch bundle can carry the stable sandbox SPIFFE ID and the launch SPIFFE ID. The launch ID is the stable ID followed by /launch/<runtime generation>, so it changes when the gateway issues a new generation. - validate_provider_launch_identity lets a driver check that both IDs belong to the sandbox and generation it is starting. - ConfigureRequest gains a flag that tells a managed driver the mode is selected. - Label and probe constants shared by the supervisor and the drivers. Nothing uses the contract yet. Existing call sites only initialize the new fields. Signed-off-by: Shiju <shiju@nvidia.com>
Let a dedicated supervisor prove its sandbox and launch identity when it asks the gateway for a provider access token. - GetSandboxProviderAccessToken accepts two optional JWT-SVIDs. Shared supervisors keep omitting them. - When the launch bundle carries provider SPIFFE IDs, the supervisor fetches one JWT-SVID for the stable sandbox ID and the provider audience, and one for the launch ID and the launch audience. It sends both over TLS or numeric loopback only. - The supervisor reuses a pair for up to five seconds, stops one second before either expires, and never reuses assertions that carry a JWT ID. - The provider audience rule moves to openshell-core so the supervisor and the gateway derive it the same way. A whitespace-only configured audience now derives the issuer on the direct path too. - A probe subcommand takes a Workload API socket path and reports whether the supervisor can see it, so drivers can qualify a supervisor before launch. Bundles without provider SPIFFE IDs keep the existing direct exchange. Signed-off-by: Shiju <shiju@nvidia.com>
shiju-nv
force-pushed
the
feat/6049-supervisor-workload-assertions/shiju-nv
branch
from
November 29, 2026 04:35
dd1e11f to
a48bc30
Compare
shiju-nv
force-pushed
the
shiju-nv/sandbox-spiffe-provider-identity
branch
from
November 29, 2026 04:35
dec8cec to
1358794
Compare
10 of 59 tasks
shiju-nv
force-pushed
the
shiju-nv/sandbox-spiffe-provider-identity
branch
from
December 4, 2026 11:21
1358794 to
36137b2
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Let a dedicated supervisor prove its sandbox and launch identity when it asks the gateway for a provider access token. This is layer 2 of 8 in the stack that starts at #6050. Launch bundles without provider SPIFFE IDs keep the existing direct exchange.
Related Issue
Part of #6049
Changes
GetSandboxProviderAccessTokenaccepts two optional JWT-SVIDs. Shared supervisors keep omitting them.urn:openshell:provider-grants:launch:<generation>. It sends both over TLS or numeric loopback only.openshell_core::oauthso the supervisor and the gateway derive it the same way. A whitespace-only configured audience now derives the issuer on the direct path too.openshell-supervisor provider-workload-identity-probe <socket>reports whether the supervisor can see a Workload API socket, so a driver can qualify a supervisor before launch.Release Notes
Testing
Checklist