-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VerifiableReader was code that SOCI inherited from Stargz, but didn't use. With estargz images, the TOC is embedded in the layer in the remote store. When setting up a reader, you can optionally pass a digest of the TOC which the stargz-snaphostter will verify against the actual TOC in the remote registry. SOCI stores TOCs in zTOCs which have integrity rooted in the SOCI index. Therefore, you get equivalent verification by specifing a SOCI index digest when pulling an image. By the time we're setting up a reader, we've already verified the ztocs and their layer mapping which means there is nothing to verify here. Initially we initially just made Verify a no-op and bypassed it. This change cleans up that unneeded code entirely. Signed-off-by: Kern Walster <[email protected]>
- Loading branch information
Showing
5 changed files
with
21 additions
and
143 deletions.
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