Skip to content

Commit 13972f7

Browse files
committed
Add TODO
Signed-off-by: Cody Soyland <[email protected]>
1 parent 38dbd41 commit 13972f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/reconciler/trustroot/trustroot.go

+2
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ func getSigstoreKeysFromTuf(ctx context.Context, tufClient *client.Client) (*con
235235
return nil, fmt.Errorf("error getting targets: %w", err)
236236
}
237237
ret := &config.SigstoreKeys{}
238+
// TODO: Use `trusted_root.json` to populate `config.SigstoreKeys`, if
239+
// available. Fall back to using target files with custom metadata if not.
238240
for name, targetMeta := range targets {
239241
// Skip any targets that do not include custom metadata.
240242
if targetMeta.Custom == nil {

0 commit comments

Comments
 (0)