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

Release tough 0.20.0 #867

Merged
merged 13 commits into from
Mar 27, 2025
Merged

Release tough 0.20.0 #867

merged 13 commits into from
Mar 27, 2025

Conversation

cbgbt
Copy link
Contributor

@cbgbt cbgbt commented Mar 27, 2025

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AdamKorcz and others added 12 commits March 6, 2025 20:37
Update metadata validation: must not skip versions, must measure
expiration relative to start of update. TUF specification v1.0.33,
sections 5.1 and 5.3.5.
Do not follow cyclic or redundant edges in the delegated roles graph.
TUF specification v1.0.33, section 5.6.7.1.
In the pre-order depth-first search for target metadata, if a delegated
role is selected, is terminating, and does not have metadata for the
target, end the search. TUF specification v1.0.33 section 5.6.7.2.1.
The version number of the snapshot metadata in the previous timestamp
metadata must be less than or equal to the version number in the new
timestamp metadata. TUF specification v1.0.33 section 5.4.3.2.
For each role in a previous snapshot, the role must be present in the
new snapshot and must have a version greater than or equal to the
version in the previous snapshot. TUF specification v1.0.33 section
5.5.5.
When either the timestamp or snapshot keys are rotated, delete any
cached timestamp and snapshot metadata. TUF specification v1.0.33
section 5.3.11.
Require unique keyids in an objects signatures. TUF specification
v1.0.33 section 4.2.1.
Use .context to simplify error propagation when we do not find an
expected matafiles key. Use the expect attribute rather than allow for
deterministic clippy findings.
Introduce the private method find_target_from_role to incorporate two
arguments used in the recursive search (specification 5.6.7), and
call that from the public method find_target.
Signed-off-by: Sean P. Kelly <[email protected]>
Signed-off-by: Martin Harriman <[email protected]>
Signed-off-by: Patrick J.P. Culp <[email protected]>
@cbgbt cbgbt requested review from larvacea and jpculp March 27, 2025 22:39
@cbgbt cbgbt force-pushed the release-tough-0.20.0 branch from 6abc367 to 81f8b1c Compare March 27, 2025 22:50
@cbgbt cbgbt merged commit 596c2a0 into awslabs:develop Mar 27, 2025
9 checks passed
@cbgbt cbgbt deleted the release-tough-0.20.0 branch March 27, 2025 23:05
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.

5 participants