theupdateframework / tuf-conformance

TUF client conformance test suite
MIT License
7 stars 4 forks source link

should metadata be valid if it contains keytypes/schemes that client is unfamiliar with? #65

Open jku opened 2 months ago

jku commented 2 months ago

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

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.

AdamKorcz commented 2 months ago

Related to https://github.com/theupdateframework/python-tuf/issues/2669