-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Transition to the newest version of TUF #561
Merged
Merged
Changes from 1 commit
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
60b8fa9
Update tuf, securesystemslib and cryptography deps
lukpueh f62907e
Add alternative TUF metadata repo implementation
lukpueh ad2b58f
Change create and add_keys API to take signers
lukpueh b46645b
Make sure targets is signed on add key
lukpueh 33750eb
Assert keytype rsa in taf.tuf.keys helper
lukpueh 42fbfac
Add signer implementation for Yubikeys
lukpueh 25371d7
Comment out legacy imports (WIP)
lukpueh ec294a8
Merge branch 'feature/tuf-repositoty' into tuf-upgrade
renatav 70927b7
Merge pull request #512 from lukpueh/tuf-upgrade
renatav 9bf3fb9
feat: moved get threshold to the new repository class, implement dele…
renatav c7be3cb
refact: move get expiration date, get all targets and check expiratio…
renatav 7601b9b
refact: move get role paths and all target files to the new repositor…
renatav b8d247e
refact: work on making the create repository method more flexible
renatav ade9af1
refact: extend creation of repositories using the new TUF, added supp…
renatav f1c1b6c
test: add create repository with delegations test
renatav ea05769
test: use repository created using create in tests
renatav c9857d0
test, refact: reorganize tests, implement keyid-roles mapping using t…
renatav b7eb34a
test: re-enabled add target test
renatav ccb94b8
refact: moved modify targets to the new repository class
renatav 43af588
test: create test repos with target files and custom data
renatav feb7b53
refac, test: move get_all_target_files_state to the new repository cl…
renatav 3202900
refact: move generate_roles_description to the new repository class
renatav af59138
test, refact: minor tests refactoring, reimplement is_valid_metadata_key
renatav 51d63c9
refact: test: reimplement add metadata keys, enable keys tests
renatav e57b8e3
feat, test: implement revoke key
renatav abeaa2c
test, fix: minor add and revoke key improvements
renatav f3bc1f7
refact, test: initial work on reworking signing, add set expiration d…
renatav 2681d4a
refact: remeve outdated imports
renatav 0d67dd5
refact: check and set expiration date reimplemented
renatav ba7d3eb
refact: update key generation
renatav ea93127
refact: reimplement repository_at_revision
renatav 4122100
refact: update updater and the creation of a new repository
renatav e21edfd
fix: bare repositories fix
renatav d9e5cc0
refact: reimplement addition of verification keys when creating a new…
renatav 67fbc2b
fix: minor create repo fix
renatav c1cd853
refact: remove do_snapshot and timestamp from add/revoke keys
renatav 7fe4d2f
refact: work on initializing repository and signers in api
renatav e77210b
fix, feat: fix add keys, add revoke key command
renatav 947f1e4
test: add add delegated paths test
renatav 5c56ede
refact: rework create new role
renatav c92c39b
refact: support adding multiple new roles
renatav f63a058
refact, fix: fix create delagations when no previouis delgations, rew…
renatav 66a2742
refact: refactored remove paths
renatav 2fe6d72
fix: minor fixes, update update-expiration-dates
renatav 5ddb0c3
refact, test: remove unused code, remove paths test added
renatav dfbcde6
refact: rework targets update
renatav c541df8
test: add update targets roles test
renatav 45c8c02
refact: reimplement add target repo
renatav 4917b71
refact: rework remove target repo
renatav 2f817d3
refact: update add/remove dependencies
renatav de7f5f8
test, refact: refact repository init tests, remove outdated tests
renatav 96c7df1
test: work on refactoring test_create_repository tests
renatav 7a787f4
test, refact: reorganize conftest
renatav 1b7146b
test: rework test dependencies, metadata and roles api tests
renatav c5de6e1
chore: remove ramaining test repos
renatav 739c014
test: refact test targets
renatav 4fd29db
test, refact: update repositoriesdb tests, some refactoring, remove u…
renatav fbc0a8a
fix: fix snapshot info length/hash issue
renatav 68fb96e
feat: initial implementation of git storage backed, which can load me…
renatav 84a52f2
fix: bypass storage singleton
renatav 8224179
fix: update root version number when updating snaphost. Work on updat…
renatav 5afeaf5
test: update test_update_invalid
renatav 6573a6a
fix: fix update expiration dates. Snapshot info was not getting updated
renatav 959ab49
test: update remaining updater tests, minor cleanup
renatav 16abe0c
chore: cleanup, formatting, remove unused code and imports
renatav 4f02ce1
chore: bump yubikey-manager version
renatav 62a8cac
chore: fixing mypy issues
renatav cb5b45a
chore: import and mypy issues
renatav 2070426
chore: mypy issues
renatav 106836c
chore: remove unused import
renatav 896eb73
chore: comment out yubukey tests
renatav f262d81
test: remove generation of tests
renatav 324e642
chore: formatting
renatav ea6dbf2
test: fix a number of failing tests
renatav 32b2930
chore: remove unused import
renatav b37a631
test: rework keys tests
renatav d3d7263
test: update number of root keys in updater keys description
renatav 3000095
fix: fix failing tests
renatav 65c128b
refact: update yubikey cli functions
renatav 4805128
test: refact yubikey tests
renatav 789b591
refact: refactor creation of repositories using yubikeys
renatav ff146df
chore: formatting and mypy fixes
renatav e402196
test: add pytest-mock to test requirements
renatav de1bd82
Merge branch 'master' into feature/tuf-repositoty
renatav da5344d
chore: update changelog
renatav 2f16959
chore: merge master
renatav f22da80
test: tun tests without having ykman installed
renatav 7db3588
chore: ignore unused import
renatav 6410f52
docs: GitStorageBackend docstring
renatav 4ab8c48
feat: add a command for rotating keys
renatav dc431c5
test: add test revoke signing key test
renatav 5ea21e7
docs: update docs related to repository classes
renatav bef7f8e
chore: merge master and resolve conflicts
renatav 4490e9b
docs: add/update a number of metadata repository docstrings
renatav 81e0799
docs: add docstrings to metadata repository
renatav 78a91b5
docs: update docstrings, comments and docs
renatav cc45f38
chore: mypy and formatting fixes
renatav 22dd4b8
refact: update validation.py imports
renatav 8b20832
feat: introduce cli tests with click `CliRunner`
n-dusan 005b293
test: fix failing cli tests
renatav 6f79d2b
chore: merge master and resolve conflicts
renatav f496fe9
chore: formatting
renatav 019d963
fix, tests: minor update metadata fix and additional tests
renatav 503653b
fix: do not update snapshot and timestamp twice
renatav 8ce54e0
fix: fix update timestamp without snapshot
renatav 95263f0
feat, fix: add update timestamp and snapshot api function, minor fixes
renatav 408f9bd
feat: introduce get_role_paths back to auth_repo.py
n-dusan 061a860
feat: add create/remove target files as a separate repository function
renatav 8f1b2e9
refact: update fake yubikey
renatav af0af2e
chore: mypy return type fix
renatav 19ebb23
fix: set storage commit to None in repository at revision context man…
renatav 61e6788
feat: add a function for syncing snapshot with the provided roles
renatav 60e2c70
fix: set update_expiration_date in update snapshot and timestamp
n-dusan 87394b1
chore: fix typo
n-dusan 1a38bb3
fix: convert CRLF to LF before creating target object
n-dusan 42771cc
feat: add an option to update certain metadata files when signing tar…
renatav 5520204
Merge branch 'master' into feature/tuf-repositoty
renatav 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
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.
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.
question: should we pass in auth_repo as param to the
_role_obj
method when method hasself
?suggestion: If we shouldn't, need to update
_role_obj
calls everywhere, I think?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.
remove_role
should be reimplemented fully. I couldn't find this this function call in the newest version. It's not being used at the moment, as that old implementation wasn't fully correctThere 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.
Makes sense. Do we create an issue?