You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update roots
* removing some debugging comments
* removing duplicate code for getLocalRootMeta by calling it from getLocalMeta
* fix based on the reviews.
* enable an arbitrary root verify another root (use case: n verify n+1) without the need for store them permanently.
* check non root metadata, refactor test, address comments
* updated according to the comments
* remove persistent metadata is the keys have changed.
* removing the unused ErrWrongRootVersion
* add DeleteMeta to the LocalStore interface and implemenet in MemoryLocalStore and FileLocalStore subtypes.
* delete (instead of setting to an empty raw message) the top-level metadata when their key has changed.
* add test fixtures for fast forward attack recovery.
* test for fast forward attack recovery
* addressed several comments.
* addressed more comments. Set the rootVersion in loadAndVerifyLocalRootMeta. Fixed a buggy test.
* Fixed a buggy test.
* fix comment typos
* fix race condition related to the expired check.
* fix race condition related to the expired check.
* kill unmarshalIgnoreExpired.
* add test for root update for client version above 1.
* add test for root update for client version greater than 1.
* update the VerifyIgnoreExpiredCheck method signature and add test for it.
* Avoid mocking IsExpired in the tests. Instead update test fixtured to have concerete timestamps (either expired or long exiring one)
* remove commented code
* update fixtures and clarify test comments.
* updating the comments based on the feedbacks.
* update roots
* removing some debugging comments
* removing duplicate code for getLocalRootMeta by calling it from getLocalMeta
* fix based on the reviews.
* enable an arbitrary root verify another root (use case: n verify n+1) without the need for store them permanently.
* check non root metadata, refactor test, address comments
* updated according to the comments
* remove persistent metadata is the keys have changed.
* removing the unused ErrWrongRootVersion
* delete (instead of setting to an empty raw message) the top-level metadata when their key has changed.
* add test fixtures for fast forward attack recovery.
* test for fast forward attack recovery
* addressed several comments.
* addressed more comments. Set the rootVersion in loadAndVerifyLocalRootMeta. Fixed a buggy test.
* Fixed a buggy test.
* fix comment typos
* Update client/client_test.go
Co-authored-by: Trishank Karthik Kuppusamy <[email protected]>
* Update client/client_test.go
Co-authored-by: Trishank Karthik Kuppusamy <[email protected]>
* fix race condition related to the expired check.
* fix race condition related to the expired check.
* kill unmarshalIgnoreExpired.
* add test for root update for client version above 1.
* add test for root update for client version greater than 1.
* update the VerifyIgnoreExpiredCheck method signature and add test for it.
* Avoid mocking IsExpired in the tests. Instead update test fixtured to have concerete timestamps (either expired or long exiring one)
* remove commented code
* update fixtures and clarify test comments.
* updating the comments based on the feedbacks.
* rebase and update test cases to long expiration (10 years from now), by default.
* add test cases for (1) when there is no local root, (2) there is a local root but no other top-level metadata
* remove the 'previous' of test folders
Co-authored-by: Trishank Karthik Kuppusamy <[email protected]>
0 commit comments