theupdateframework / theupdateframework/tuf-conformance
should metadata be valid if it contains keytypes/schemes that client is unfamiliar with?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9
- Forks
- 7
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 13
Description
This relates to tests added in 0a81fc177fa810313f196d49497e979ee4a9b6f6: the test assumes that root should be considered valid by a client even if it contains keytypes/schemes that the client does not recognise (this assumes the signing threshold of root is still reached with the keys that it does understand)
The spec does not seem to really say anything about this. The argument against considering metadata like this valid are that
- it's hard to imagine a realistic scenario where this would happen in the real world (meaning a situation where accepting metadata with unknown keys would lead to a functioning TUF client update: typically if keys are added to metadata, they are also required for verifying signatures...)
- A client silently doing nothing with keys that it does not understand sounds like a potential for bugs later on
I'm filing this issues because I plan to remove the test for now: let's figure out what the correct behaviour is first and re-add them (or some simpler tests) afterwards if needed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the tests added in commit 0a81fc177fa810313f196d49497e979ee4a9b6f6 and the relevant TUF specification text. Resolve whether metadata with unknown keytypes or schemes can still be valid when the understood keys meet the signing threshold, then update or remove the tests to reflect the decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100