-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update TUF client to support options and add LiveTrustedRoot #41
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
444736a
Update TUF client to support options and add LiveTrustedRoot
codysoyland 035c084
Make sure DefaultOptions never fails
kommendorkapten 5f4fafa
avoid empty strings for arguments, use named attributes
kommendorkapten 511a0b9
Ignore emacs backup files
kommendorkapten e680b4f
Created a bascig config file for the tuf client
kommendorkapten 7be28c0
Style fixes
kommendorkapten 780beb3
Made consistent snapshot configurable
kommendorkapten b1f195f
Clarified the use of unsafe local mode
kommendorkapten 3e2ab65
Updated to go-tuf/v2@master
kommendorkapten 8297aeb
Resolved merge conflict
kommendorkapten 9c4e1c4
Merge branch 'main' into tuf-client-2
kommendorkapten 11dedbd
Fixed errors from linter
kommendorkapten dc7e979
Use short variable declaration syntax
codysoyland 8bc63cf
Remove old unused embedded root
codysoyland c270ed8
Add func to fetch TUF root with given options
codysoyland a8fd9e0
Add chainable functional options to Options struct
codysoyland 95168ba
Update CodeQL action
codysoyland 4f6cb84
Setup Go version in CodeQL workflwo
codysoyland c2e715e
Don't specify minor go version
kommendorkapten e87063c
Added a simple test for an offline cliant
kommendorkapten 96326fa
Add TUF repo creation and basic test to create a client
codysoyland 057aa83
Made the tuf root file configurable via the command line
kommendorkapten 4ac2b31
Merge branch 'main' into tuf-client-2
kommendorkapten 72edefd
Use consts from go-tuf
codysoyland 0def807
Add test to fetch target
codysoyland f4d0556
Breakout publish
codysoyland ee12af4
Add target support and refresh test
codysoyland fe78b34
Add TUF caching tests
codysoyland 651aff1
Remove unreachable code, add more tests
codysoyland fd475da
Updated go-tuf
kommendorkapten 616ee98
Updated to latest go-tuf
kommendorkapten 51aaf34
Clarified that the updates is replaced, not the actual tuf client
kommendorkapten 10be16d
Updated to new error type (pointer)
kommendorkapten 1d0f156
Use 0 days for default CacheValidity
codysoyland 37bb81f
Clarify CacheValidity option and add NoCache/MaxCache consts
codysoyland 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
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.
Can we add tests?
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.
Yeah I think so, I'll work on getting some in.