0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/pkg/storage
Andreea Lupu d5065513f5
feat: add support for oci1.1 cosign signatures(using referrers) (#1963)
- Cosign supports 2 types of signature formats:

	1. Using tag -> each new signature of the same manifest is
	added as a new layer of the signature manifest having that
	specific tag("{alghoritm}-{digest_of_signed_manifest}.sig")

	2. Using referrers -> each new signature of the same manifest is
	added as a new manifest

- For adding these cosign signature to metadb, we reserved index 0 of the
list of cosign signatures for tag-based signatures. When a new tag-based
signature is added for the same manifest, the element on first position
in its list of cosign signatures(in metadb) will be updated/overwritten.
When a new cosign signature(using referrers) will be added for the same
manifest this new signature will be appended to the list of cosign
signatures.

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
2023-11-06 14:09:39 -08:00
..
cache ci: update golangci-lint version (#1834) 2023-10-20 17:27:04 +03:00
common feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
constants feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
gc feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
imagestore feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
local feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
s3 feat(api): repair corrupted blobs when pushed again (#1927) 2023-10-20 13:02:31 -07:00
types fix: more accurate storage metrics after zot restart (#1972) 2023-11-01 09:09:21 -07:00
cache.go refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
cache_benchmark_test.go fix: tests refactoring (#1950) 2023-10-26 11:20:39 +03:00
cache_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
README.md
scrub.go refactor(scrub): replace umoci logic in scrub implementation (#1845) 2023-09-26 11:02:11 -07:00
scrub_test.go fix: running tests locally fails (#1879) 2023-10-05 14:34:50 +03:00
storage.go feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
storage_controller.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
storage_test.go feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00

zot currently supports two types of underlying filesystems:

  1. local - a locally mounted filesystem

  2. remote - a remote filesystem such as AWS S3

The cache database can be configured independently of storage. Right now, zot supports the following database implementations:

  1. BoltDB - local storage. Set the "cloudCache" field in the config file to false. Example: examples/config-boltdb.json