ngclient: skipping visited roles
See original GitHub issuespec says (for each role in delegation tree):
If this role has been visited before, then skip this role
ngclient does:
if (role_name, parent_role) in visited_role_names:
logger.debug("Skipping visited current role %s", role_name)
continue
So it only skips if role has been visited from same parent. If there is a good reason for allowing the same role multiple times in the delegation tree (against the spec), it should be documented somehow. Alternatively we should do what the spec says and make visited_role_names just a set of role names (and not a set of tuple)…
Pinging @sechkova for comment: there’s probably a reason ngclient does this (considering legacy client does not do this), happen to remember what it is?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
python-tuf/CHANGELOG.md at develop · theupdateframework ...
This release makes ngclient and the Metadata API the supported python-tuf APIs ... ngclient: return loaded metadata (#1680); ngclient: skip visited nodes on ......
Read more >Installing EVE-NG Client Tools on Windows 10 - YouTube
Ready to integrate some of your favorite networking apps with EVE-NG? The Client tools will help you set all of the registry items...
Read more >DIY Print Management - PaperCut NG | PaperCut
PaperCut Mobility Print. Quickly enable visitor/guest, BYOD, and mobile printing. PaperCut Mobility Print makes this possible without the your users hassling ...
Read more >EVE-NG
EVE-NG PRO is the first clientless multivendor network emulation software that empowers network and security professionals with huge opportunities in the ...
Read more >Bernard Ng - Client Onboarding Associate - Global-e - LinkedIn
... working on data in the EMS field. | Learn more about Bernard Ng's work experience, education, connections & more by visiting their...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can I take this?
Could you please assign that to me 😉