Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Soyland <codysoyland@github.com>
  • Loading branch information
codysoyland committed Mar 12, 2024
1 parent 38dbd41 commit 13972f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/reconciler/trustroot/trustroot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 13972f7

Please sign in to comment.