Repository navigation
tufclient: authenticate repo requests as this machine - #82
Open
joaquimrocha wants to merge 2 commits into
Open
joaquimrocha wants to merge 2 commits into
joaquimrocha wants to merge 2 commits into
Conversation
joaquimrocha
force-pushed
the
eng-233-wit-signed-fetch
branch
from
October 14, 2026 14:09
0afe91d to
b08d284
Compare
A server could not tell which machine was fetching a repo, so a per-machine repo was readable by anyone who knew its URL. A repo can now set an auth table of type "wimse" with an audience. Requests to its metadata host then carry this machine's workload identity token, from amutablectl's identity agent, and an RFC 9421 signature by a key quarry-client keeps in memory. Requests to other hosts stay unsigned. Repos without the setting fetch as before. Signed-off-by: Joaquim Rocha <joaquim@amutable.com>
Any failure to fetch a repo's first root.json skipped the repo. A machine that could not authenticate then updated nothing and still reported success. Now only a missing root.json, which means the repo may not exist yet, skips the repo. Any other failure is an error, so one repo that fails this way stops the whole run. Signed-off-by: Joaquim Rocha <joaquim@amutable.com>
joaquimrocha
force-pushed
the
eng-233-wit-signed-fetch
branch
from
October 15, 2026 21:11
b08d284 to
4db8b8e
Compare
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.
This PR allows quarry to fetch the repo data using WIMSE. As we need for https://linear.app/amutable/issue/ENG-233/quarry-restrict-access-to-userdata-based-on-wit-in-cdn .
See also https://github.com/amutable-systems/amutablectl/pull/193