0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/pkg/common
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
..
common.go feat: add support for oci1.1 cosign signatures(using referrers) (#1963) 2023-11-06 14:09:39 -08:00
common_test.go refactor: Reduce binary size of zot-minimal; Added CI check for binary size (#1758) 2023-09-06 19:58:00 +03:00
http_client.go fix(sync): ping func should not try to read response body (#1757) 2023-09-13 20:00:51 +03:00
http_client_test.go refactor(pkg/test): split logic in pkg/test/common.go into multiple packages (#1861) 2023-09-27 11:34:48 -07:00
http_server.go refactor(authz): use a struct for user access control info operations (#1682) 2023-09-01 11:13:53 -07:00
model.go refactor: Reduce zb binary size (#1783) 2023-09-13 10:28:14 +03:00
oci.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00
oci_test.go refactor: move helper functions under common, in usage specific named files (#1540) 2023-06-22 14:29:45 +03:00
retry.go refactor(cli): added equivalent subcommands for each flag combination under every command (#1674) 2023-08-30 20:12:24 +03:00