Skip to content

Remove 2nd snapshot rollback attack check #117

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

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Sep 23, 2020

This shares the same justification for removal as #65. Step 3.3.1 was made redundant by #106, which modified the workflow to add 2.2.2, where updating the timestamp will also check if the new timestamp contains a snapshot version that is less than the trusted snapshot version.

This, in combination with the 3.1 check that asserts hashes and version of the actual snapshot metadata match the ones in the new trusted timestamp, make another version check, i.e, the one removed in this commit, obsolete.

This shares the same justification for removal as theupdateframework#65. Step 3.3.1 was made
redundant by theupdateframework#106, which modified the workflow to add 2.2.2, where
updating the timestamp will also check if the new timestamp contains a
snapshot version that is less than the trusted snapshot version.

This, in combination with the 3.1 check that asserts hashes and version of
the actual snapshot metadata match the ones in the new trusted timestamp,
make another version check, i.e, the one removed in this commit, obsolete.
Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch and the detailed commit message, @erickt!

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

Successfully merging this pull request may close these issues.

3 participants