Skip to content

refactor: extract sigstore-tuf module - #1289

Open
aaronlew02 wants to merge 1 commit into
mainfrom
extract-sigstore-tuf
Open

aaronlew02 wants to merge 1 commit into
mainfrom
extract-sigstore-tuf

Conversation

@aaronlew02

Copy link
Copy Markdown
Collaborator

Summary

This change extracts the TUF engine (including the updater, provider, models, and verifiers) into its own :sigstore-tuf module.

@aaronlew02
aaronlew02 added this pull request to stack #1290 September 9, 2026 18:37
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch 2 times, most recently from 9f0f109 to 97d2668 Compare September 16, 2026 19:07
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 97d2668 to b570d14 Compare October 19, 2026 14:26
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from b570d14 to b87ddfb Compare October 19, 2026 14:59
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch 2 times, most recently from a5b8d4c to b9cdf14 Compare October 19, 2026 15:28
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from b9cdf14 to 6af0906 Compare October 19, 2026 15:35
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch 2 times, most recently from 4775de0 to 84e9c43 Compare October 19, 2026 17:26
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 84e9c43 to 9efa314 Compare October 19, 2026 18:05
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 9efa314 to 180ba4b Compare October 26, 2026 15:24
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 180ba4b to 80e1626 Compare October 26, 2026 15:50
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch 2 times, most recently from 8336137 to 5aa0cbe Compare October 26, 2026 16:27
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 5aa0cbe to 179b0e5 Compare October 26, 2026 18:24
@aaronlew02
aaronlew02 removed this pull request from stack #1290 October 26, 2026 18:28
@aaronlew02
aaronlew02 added this pull request to stack #1328 October 26, 2026 18:30
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch 2 times, most recently from ab6270b to f0960fd Compare October 26, 2026 19:11
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch 2 times, most recently from 25d9285 to 7147062 Compare October 26, 2026 20:38
@aaronlew02
aaronlew02 removed this pull request from stack #1328 October 28, 2026 13:54
@aaronlew02
aaronlew02 added this pull request to stack #1331 October 28, 2026 13:58
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 7147062 to 23e4d6c Compare October 28, 2026 14:05
Base automatically changed from extract-sigstore-common to main October 29, 2026 15:52
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 23e4d6c to ca3a982 Compare October 29, 2026 15:52
@aaronlew02
aaronlew02 marked this pull request as ready for review October 29, 2026 17:25
@loosebazooka

loosebazooka commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

going through this now, worth fixing the dependency version drift in the meantime... alternatively we could explore using a version catalog to prevent this issue.

@loosebazooka

Copy link
Copy Markdown
Member

We need to update our module test for this new module. It seems like there may be some conflicting packages (SigstoreTufClient might need to move to a different package).

@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from ca3a982 to 45304ac Compare October 30, 2026 19:49
Signed-off-by: Aaron Lew <64337293+aaronlew02@users.noreply.github.com>
@aaronlew02
aaronlew02 force-pushed the extract-sigstore-tuf branch from 45304ac to 1f7b9f1 Compare October 30, 2026 19:50
@aaronlew02

Copy link
Copy Markdown
Collaborator Author
  • Moved SigstoreTufClient from dev.sigstore.trustroot to new dev.sigstore.trustroot.tuf
  • Moved Sigstore TUF roots from src/main/resources/dev/sigstore/tuf to src/main/resources/dev/sigstore/trustroot/tuf
  • Added a TargetReader field to SigstoreTufClient to keep getTargetStore() and getMetaStore() package-private in the TUF Updater
  • Declared api("com.google.code.gson:gson:2.14.0") dependency in sigstore-tuf
  • Added sigstore-tuf to sandbox (module-test)
  • Moved TestResources from sigstore-tuf/src/test/java/dev/sigstore/testkit/tuf/ to sigstore-tuf/src/test/java/dev/sigstore/tuf/
  • Updated sigstore-tuf dependencies

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