Skip to content

Add CORS headers for TUF bucket#165

Merged
Hayden-IO merged 2 commits intomainfrom
Hayden-IO-patch-1
Jan 17, 2026
Merged

Add CORS headers for TUF bucket#165
Hayden-IO merged 2 commits intomainfrom
Hayden-IO-patch-1

Conversation

@Hayden-IO
Copy link
Contributor

This allows for websites to request the TUF repository, e.g. if sigstore-js were integrated into a website to verify javascript. This should set Access-Control-Allow-Origin to * to allow any site, and Access-Control-Allow-Methods to GET and HEAD since PUT/POST/DELETE aren't needed. No response headers are needed so Access-Control-Allow-Headers is not specified.

Ref sigstore/root-signing#1597

Summary

Release Note

Documentation

This allows for websites to request the TUF repository, e.g. if sigstore-js were integrated into a website to verify javascript. This should set `Access-Control-Allow-Origin` to `*` to allow any site, and `Access-Control-Allow-Methods` to `GET` and `HEAD` since PUT/POST/DELETE aren't needed. No response headers are needed so `Access-Control-Allow-Headers` is not specified.

Ref sigstore/root-signing#1597

Signed-off-by: Hayden <8418760+Hayden-IO@users.noreply.github.com>
Signed-off-by: Hayden <8418760+Hayden-IO@users.noreply.github.com>
@Hayden-IO Hayden-IO merged commit 2dac29b into main Jan 17, 2026
5 checks passed
@Hayden-IO Hayden-IO deleted the Hayden-IO-patch-1 branch January 17, 2026 23:27
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

Successfully merging this pull request may close these issues.

2 participants