-
Notifications
You must be signed in to change notification settings - Fork 992
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
TUF Initialization using python-tuf 2.0.0 #10870
Closed
kairoaraujo
wants to merge
22
commits into
pypi:main
from
kairoaraujo:refactoring_pr_tuf_initialization
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
eb24643
[WIP] warehouse: TUF initialization
woodruffw 10d7815
WIP: TUF Initialization using python-tuf 1.0.0
e289529
Add unit tests for TUF CLI
423bfd0
Simplify IKeyService and repository state check
249d4ce
Fix the existent tests aligned with the changes
2ad97c4
Adds the TUF/tasks unit tests
ccb5cdb
Add tests tuf.services.LocalStorageService
11c95ff
Add tests tuf.services.RepositoryService
5030b0b
Add tests tuf.hash_bins
9ffce14
Add tests warehouse.tuf.repository
b0b9ef8
Fix lint for tests and tuf services
a577eac
fixed typing and tests improvement
a268482
fix warehouse initialization with TUF
a3aab80
Simplify Target Files Data Structure
6a4d2bd
Remove unused function from RepositoryService
e5d7033
Removed RolesPayload data structure
ed266e2
Replaced the Key signatures dict to Signers
5b634b2
Move all TUF mgmt code to RepositoryService (WIP)
lukpueh 2f36253
Fix the TUF Repository Service
c943a7c
Implement python-tuf 2.0.0
f420476
Include `tuf.url` to settings in conftest
bed6362
Fixed typos in conftest and tuf/interfaces
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are there two different targets generated here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I generated two different keys to use different configuration thresholds in the config, and the
KeyService
handle multiple keys in the development environment.warehouse/warehouse/tuf/__init__.py
Line 28 in bed6362