Repository navigation
Conversation
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2037 +/- ##
==========================================
+ Coverage 34.81% 34.92% +0.10%
==========================================
Files 127 127
Lines 6870 6895 +25
==========================================
+ Hits 2392 2408 +16
- Misses 4478 4487 +9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Meredith Lancaster <malancas@users.noreply.github.com>
|
@malancas can you rebase? |
Signed-off-by: Meredith Lancaster <malancas@users.noreply.github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
| "github.com/sigstore/sigstore-go/pkg/root" | ||
| "github.com/sigstore/sigstore/pkg/cryptoutils" | ||
| "github.com/sigstore/sigstore/pkg/fulcioroots" | ||
| "github.com/sigstore/sigstore/pkg/fulcioroots" //nolint:staticcheck |
There was a problem hiding this comment.
Replacing github.com/sigstore/sigstore/pkg/fulcioroots with sigstore-go functions is more involved. I plan to replace this in a follow up PR and am adding this linting ignore rule temporarily.
| "github.com/sigstore/sigstore/pkg/fulcioroots" | ||
| "github.com/sigstore/sigstore/pkg/tuf" | ||
| "github.com/sigstore/sigstore/pkg/fulcioroots" //nolint:staticcheck | ||
| "github.com/sigstore/sigstore/pkg/tuf" //nolint:staticcheck |
There was a problem hiding this comment.
I also plan to remove github.com/sigstore/sigstore/pkg/tuf in a follow up.
…y target fetching Signed-off-by: Meredith Lancaster <malancas@github.com>
Signed-off-by: Meredith Lancaster <malancas@github.com>
| logging.FromContext(ctx).Infof("Initializing TUF root from %s => %s", *tufRoot, *tufMirror) | ||
| if err := tuf.Initialize(ctx, *tufMirror, tufRootBytes); err != nil { | ||
| // Legacy Fulcio and Rekor loaders still use their own TUF singleton. | ||
| if err := legacytuf.Initialize(ctx, *tufMirror, tufRootBytes); err != nil { |
There was a problem hiding this comment.
Because the deprecated sigstore/sigstore Fulcio and Rekor code will be removed in a follow up, we need to temporarily preserve the legacy client.
Summary
This replaces
sigstore/sigstorewithsigstore/sigstore-gowhen building a TUF root and client. The deprecatedgithub.com/sigstore/sigstore/pkg/fulciorootspackage will be replaced withsigstore-goin a follow up pull request since that work is more involved.This pull request will be followed by at least two others for replacing the deprecated sigstore/sigstore Fulcio and Rekor functionality.
Release Note
Documentation