From 13972f72df56acacccdada7807044796733252f1 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Tue, 12 Mar 2024 10:18:39 -0400 Subject: [PATCH] Add TODO Signed-off-by: Cody Soyland --- pkg/reconciler/trustroot/trustroot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/reconciler/trustroot/trustroot.go b/pkg/reconciler/trustroot/trustroot.go index 20b97cd8..6fcdcec8 100644 --- a/pkg/reconciler/trustroot/trustroot.go +++ b/pkg/reconciler/trustroot/trustroot.go @@ -235,6 +235,8 @@ func getSigstoreKeysFromTuf(ctx context.Context, tufClient *client.Client) (*con return nil, fmt.Errorf("error getting targets: %w", err) } ret := &config.SigstoreKeys{} + // TODO: Use `trusted_root.json` to populate `config.SigstoreKeys`, if + // available. Fall back to using target files with custom metadata if not. for name, targetMeta := range targets { // Skip any targets that do not include custom metadata. if targetMeta.Custom == nil {