Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too-big server-side root metadata #4

Open
phenaproxima opened this issue Jun 9, 2021 · 0 comments
Open

Too-big server-side root metadata #4

phenaproxima opened this issue Jun 9, 2021 · 0 comments
Labels

Comments

@phenaproxima
Copy link
Collaborator

Description: This fixture does not need any targets, but it should have server-side and client-side metadata. There should be a second version of the server-side metadata, and its root metadata should just be a garbage file of 120KB or more of random characters.

Procedure: Generate a simple fixture. No need to add targets to it. Publish it once, with the client, and then publish it again, without the client. Replace the second version's root metadata with a file filled with randomly-generated text, and make it unreasonably large (at least 120 KB).

Expected Outcome: The TUF client should fail trying to fetch the new root metadata, because it's too big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant