theupdateframework / tuf-conformance

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

test artifact caching #181

Open jku opened 1 month ago

jku commented 1 month ago

from @segiddins: we should test artifact caching.

This is a bit tricky since I'm not sure we can assume that the TARGET_DIR we define for the test suite is the actual application cache -- this means we likely can't do the real test of "if we maliciously modify the cached artifact, will client re-download?"

That said, we could at least check that client does cache artifacts: