0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/pkg/extensions/sync
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
..
constants fix: add support for uploaded index when signing using notation (#1882) 2023-10-12 18:45:20 -07:00
httpclient fix(sync): fix data race when pinging registries by read-locking (#1924) 2023-10-12 11:00:33 +03:00
references feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
content.go refactor(sync): use task scheduler (#1301) 2023-05-31 10:26:23 -07:00
content_internal_test.go chore: fix dependabot alerts (#1621) 2023-07-15 12:56:09 +03:00
local.go feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
oci_layout.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
on_demand.go feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671) 2023-09-05 09:48:56 -07:00
on_demand_disabled.go feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671) 2023-09-05 09:48:56 -07:00
remote.go feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671) 2023-09-05 09:48:56 -07:00
service.go fix: add support for uploaded index when signing using notation (#1882) 2023-10-12 18:45:20 -07:00
sync.go feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671) 2023-09-05 09:48:56 -07:00
sync_disabled_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
sync_internal_test.go feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
sync_test.go feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
utils.go chore: fix dependabot alerts (#1893) 2023-10-05 09:26:20 +03:00