0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/pkg/meta
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
..
boltdb feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
common refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
convert fix(metadb): fix unexpected panic when dereferencing map fields (#1993) 2023-11-02 14:35:49 -07:00
dynamodb feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
proto feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
types feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
version refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
hooks.go feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
hooks_test.go feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
meta.go refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
meta_test.go feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
parse.go feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
parse_test.go feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00