You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we will remove a target from all delegated roles. However, the check roles.IsDelegatedTargetsManifest(metaName) will return TRUE on metadata like x.root.json or x.snapshot.json, because it's implementation only checks for exact match on the top-level roles like root.json or .snapshot.json.
I can put out a quick PR for this. It's just annoying because the log outputs that messages when a target was not found in the metadata: [2.root.json] The following target is not present: rekor.0.pub.
In
go-tuf/repo.go
Line 1195 in 61872a3
we will remove a target from all delegated roles. However, the check
roles.IsDelegatedTargetsManifest(metaName)
will return TRUE on metadata likex.root.json
orx.snapshot.json
, because it's implementation only checks for exact match on the top-level roles likeroot.json
or.snapshot.json
.I can put out a quick PR for this. It's just annoying because the log outputs that messages when a target was not found in the metadata:
[2.root.json] The following target is not present: rekor.0.pub
.go-tuf/repo.go
Line 1226 in 61872a3
The text was updated successfully, but these errors were encountered: