python-tuf
python-tuf copied to clipboard
Python reference implementation of The Update Framework (TUF)
**Description of issue or feature request**: `requests` doesn't support HTTP/2 **Current behavior**: no `HttpxFetcher` **Expected behavior**: `HttpxFetcher` is implemented
**Current behavior**: `DownloadError: Failed to parse URL file:///` **Expected behavior**: No error.
* Remove bandit * Add ruff ruleset "flake8-bandit" * verify_release is now checked by bandit * Avoid some asserts as suggested * ignore a subprocess.run lint: it seems dumb *...
ruff linter has 50 or so [rulesets](https://docs.astral.sh/ruff/rules/) that can be enabled. Currently we enable 6 good ones, but could enable more. ### Instructions * Pick a ruleset that is not...
Use `RUFF_OUTPUT_FORMAT=github` when on GitHub: this gives inline linter annotations
tox.ini contains a call to `ruff check`. Documentation talks about `--output-format=github` option that apparently might enable inline comments in github... We should test this: * add `--output-format=github` to the "ruff...
should make a ticket about this I suppose -- or maybe more generally about testing all components with DSSE _Originally posted by @jku in https://github.com/theupdateframework/python-tuf/pull/2436#discussion_r1482795299_
yeah, the TODO feels right -- even if the serialized format is a list, that's just `list(self.signatures.values())` away if self.signatures is a dict _Originally posted by @jku in https://github.com/theupdateframework/python-tuf/pull/2436#discussion_r1482773245_
I wonder if `Repository.get_delegating_role(role: str) -> str` would be useful * In my implementations I end up looking up the delegating role of a role quite a lot. * if...
This is a checklist for evaluating python-tuf maintainer accounts and permissions. This issue is automatically opened once a year. ### Tasks 1. Update this list to include any new services...