Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Init entity from ociremote when signing a digest ref (sigstore#1616)
This commit modifies the object used to seed the SignedEntity used when signing a digest reference to fix a bug where cosign would wipe out all signatures from the manifest (and not garbage-collecting previous signature layers) Before the entity was created from a `ociempty.SignedImage`. This cuased cosign to always wipe any previous signatures attached to the image. Now, cosign el init the entity from a `ociremote.SignedEntity` which will append new signatures to any existing ones. Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
- Loading branch information