-
Notifications
You must be signed in to change notification settings - Fork 112
Rotate roots per spec #143
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
hosseinsia
merged 58 commits into
theupdateframework:master
from
hosseinsia:updateroots
Sep 17, 2021
Merged
Changes from 57 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
612bb21
update roots
hosseinsia 0eadd6f
removing some debugging comments
hosseinsia 429f285
removing duplicate code for getLocalRootMeta by calling it from getLo…
hosseinsia 3cb1a91
fix based on the reviews.
hosseinsia 65ba0e6
enable an arbitrary root verify another root (use case: n verify n+1)…
hosseinsia db4f2f5
check non root metadata, refactor test, address comments
hosseinsia 79015d6
updated according to the comments
hosseinsia fd3d340
remove persistent metadata is the keys have changed.
hosseinsia 0bea98a
removing the unused ErrWrongRootVersion
hosseinsia 9d5a91a
add DeleteMeta to the LocalStore interface and implemenet in MemoryLo…
hosseinsia f21b3aa
delete (instead of setting to an empty raw message) the top-level met…
hosseinsia d3c530b
add test fixtures for fast forward attack recovery.
hosseinsia 48c1746
test for fast forward attack recovery
hosseinsia f0ad38e
addressed several comments.
hosseinsia c34393a
addressed more comments. Set the rootVersion in loadAndVerifyLocalRoo…
hosseinsia caa02e0
Fixed a buggy test.
hosseinsia 80c4246
fix comment typos
hosseinsia b670942
fix race condition related to the expired check.
hosseinsia a632c52
fix race condition related to the expired check.
hosseinsia b2489e1
kill unmarshalIgnoreExpired.
hosseinsia 31a0aad
add test for root update for client version above 1.
hosseinsia 8ed506c
add test for root update for client version greater than 1.
hosseinsia 3accd78
update the VerifyIgnoreExpiredCheck method signature and add test for…
hosseinsia b84bac0
Avoid mocking IsExpired in the tests. Instead update test fixtured to…
hosseinsia 1466b03
remove commented code
hosseinsia 381cf45
update fixtures and clarify test comments.
hosseinsia 717a30d
updating the comments based on the feedbacks.
hosseinsia f3116af
update roots
hosseinsia a27e4ba
removing some debugging comments
hosseinsia 8565549
removing duplicate code for getLocalRootMeta by calling it from getLo…
hosseinsia fe99b01
fix based on the reviews.
hosseinsia 2162d8e
enable an arbitrary root verify another root (use case: n verify n+1)…
hosseinsia d66bf74
check non root metadata, refactor test, address comments
hosseinsia 3be509a
updated according to the comments
hosseinsia 68165bc
remove persistent metadata is the keys have changed.
hosseinsia 9b09c52
removing the unused ErrWrongRootVersion
hosseinsia 42f234a
delete (instead of setting to an empty raw message) the top-level met…
hosseinsia f4435ba
add test fixtures for fast forward attack recovery.
hosseinsia c5ab46b
test for fast forward attack recovery
hosseinsia 0a3186c
addressed several comments.
hosseinsia 74ff44a
addressed more comments. Set the rootVersion in loadAndVerifyLocalRoo…
hosseinsia 3747c88
Fixed a buggy test.
hosseinsia 2a735ea
fix comment typos
hosseinsia 3e5557b
Update client/client_test.go
hosseinsia ab81279
Update client/client_test.go
hosseinsia c3e4817
fix race condition related to the expired check.
hosseinsia 0f72725
fix race condition related to the expired check.
hosseinsia 3505474
kill unmarshalIgnoreExpired.
hosseinsia 1e7d10f
add test for root update for client version above 1.
hosseinsia 1a51430
add test for root update for client version greater than 1.
hosseinsia 32ebe0a
update the VerifyIgnoreExpiredCheck method signature and add test for…
hosseinsia 9681093
Avoid mocking IsExpired in the tests. Instead update test fixtured to…
hosseinsia 0f5fe0e
remove commented code
hosseinsia 79e0bc6
update fixtures and clarify test comments.
hosseinsia ba6ffde
updating the comments based on the feedbacks.
hosseinsia bdb5cee
rebase and update test cases to long expiration (10 years from now), …
hosseinsia 45675bf
add test cases for (1) when there is no local root, (2) there is a lo…
hosseinsia d04805c
remove the 'previous' of test folders
hosseinsia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.