0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg
Andreea Lupu 41b05c60dd
feat: upload certificates and public keys for verifying signatures (#1485)
In order to verify signatures, users could upload their certificates and public keys using these routes:
	-> for public keys:
		/v2/_zot/ext/mgmt?resource=signatures&tool=cosign
	-> for certificates:
		/v2/_zot/ext/mgmt?resource=signatures&tool=notation&truststoreType=ca&truststoreName=name
Then the public keys will be stored under $rootdir/_cosign and the certificates will be stored under
$rootdir/_notation/truststore/x509/$truststoreType/$truststoreName.
Also, for notation case, the "truststores" field of $rootir/_notation/trustpolicy.json file will be
updated with a new entry "$truststoreType:$truststoreName".
Also based on the uploaded files, the information about the signatures validity will be updated
periodically.

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
2023-07-06 14:57:59 +03:00
..
api feat: upload certificates and public keys for verifying signatures (#1485) 2023-07-06 14:57:59 +03:00
cli fix(test): TestConfigReloader, wait for trivy db download (#1543) 2023-07-06 14:17:49 +03:00
common feat(cve): implemented trivy image scan for multiarch images (#1510) 2023-07-06 11:36:26 +03:00
compliance feat(repodb): Multiarch Image support (#1147) 2023-02-27 11:23:18 -08:00
debug chore: update golang (to 1.20.x) and golangci-linter (#1388) 2023-04-27 00:09:46 -07:00
exporter feat: remove usage of zerolog.Logger.Msgf() from zot code (#1382) 2023-04-27 19:44:22 -07:00
extensions feat: upload certificates and public keys for verifying signatures (#1485) 2023-07-06 14:57:59 +03:00
log refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
meta feat: upload certificates and public keys for verifying signatures (#1485) 2023-07-06 14:57:59 +03:00
regexp chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
requestcontext fix(authz): get username from authn.go request context (#1383) 2023-04-27 08:13:06 -07:00
scheduler fix: changing default numWorkers, making it customizable and refactoring scheduler (#1563) 2023-07-04 11:03:29 +03:00
storage feat(referrers): added index support for referrers queries (#1560) 2023-07-05 09:42:16 -07:00
test feat(cve): implemented trivy image scan for multiarch images (#1510) 2023-07-06 11:36:26 +03:00