-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove old code and metadata #1365
Conversation
repository/ is where repository sources used to live, but the canonical locations are now metadata/ and targets/ Note that this also removes the yubikey certificates: * I'm not opposed to storing them but I would like there to be integrated tools that verify them in signing events * Migration made current verification scripts not usable Signed-off-by: Jussi Kukkonen <[email protected]>
* step-* scripts are not needed: tuf-on-ci handles these aspects * verify and dpop-verify equivalents are partly available: * the metadata validation side should be handled by tuf-on-ci reasonably well * the "verify authentic yubikey" fnctionality is not available at the moment Signed-off-by: Jussi Kukkonen <[email protected]>
Let's just trust git to store the signing event / ceremony details. Signed-off-by: Jussi Kukkonen <[email protected]>
* cmd/tuf is replaced by tuf-on-ci * cmd/generate_staging is not needed * cmd/verify equivalent is not available currently: We can bring something like it back but current code is not usable Signed-off-by: Jussi Kukkonen <[email protected]>
As described in sigstore#1362 we are removing the key authenticity validation for now. It may come back later. Signed-off-by: Jussi Kukkonen <[email protected]>
Signed-off-by: Jussi Kukkonen <[email protected]>
There is no code to use this data anymore: we may still have to maintain these fields in the metadata for legacy reasons but this has to be done manually -- this is described in maintainer manual. Signed-off-by: Jussi Kukkonen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
WRT the go package: Based on GitHub dependency tracking there are no dependents that would break: sigstore-probers is listed as a user but that is AFAICT historical: current sigstore-probers does not use root-signing go code |
Good call on the probers, are they in a separate repository? |
sigstore/sigstore-probers: it used to use some root-signing verify calls but currently the only TUF related thing left should be calls to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So much red, this is great!
extraargs="--out-format github-actions"; \ | ||
fi; \ | ||
$(GOBIN)/golangci-lint run -c .golangci.yml ./... $$extraargs | ||
|
||
yamllint: ## Runs the yamllint linter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a later PR, probably worth removing the Makefile entirely and moving this block into .github/workflows/lint.yaml
This is part of #1356: Remove legacy code and metadata.
It's massive PR, apologies. I can split it if requested but a lot of these parts depend on each other so the split will be mostly aesthetic.
metadata/
: it's better to remove the legacyrepository/
ASAP so people do not get confused