spiegel_podman/vendor/github.com/containers/image/v5
Miloslav Trmač 5c95c0920f Add support for creating sigstore signatures, and providing passphrases
- Allow creating sigstore signatures via --sign-by-sigstore-private-key .
  Like existing --sign-by, it does not work remote (in this case
  because we would have to copy the private key to the server).
- Allow passing a passphrase (which is mandatory for sigstore private keys)
  via --sign-passphrase-file; if it is not provided, prompt interactively.
- Also, use that passphrase for --sign-by as well, allowing non-interactive
  GPG use. (But --sign-passphrase-file can only be used with _one of_
  --sign-by and --sign-by-sigstore-private-key.)

Note that unlike the existing code, (podman build) does not yet
implement sigstore (I'm not sure why it needs to, it seems not to
push images?) because Buildah does not expose the feature yet.

Also, (podman image sign) was not extended to support sigstore.

The test for this follows existing (podman image sign) tests
and doesn't work rootless; that could be improved by exposing
a registries.d override option.

The test for push is getting large; I didn't want to
start yet another registry container, but that would be an
alternative.  In the future, Ginkgo's Ordered/BeforeAll
would allow starting a registry once and using it for two
tests.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-08-02 16:52:56 +02:00
..
copy Update c/common to an unreleased version 2022-08-02 16:52:56 +02:00
directory Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
docker Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
image vendor in latests containers/image 2022-06-17 06:10:24 -04:00
internal Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
manifest Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
oci Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
openshift Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
ostree Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
pkg Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
sif Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
signature Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
storage Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
tarball Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
transports Vendor in containers/(storage,image, common, buildah) 2022-07-26 13:34:38 -04:00
types compat API: allow enforcing short-names resolution to Docker Hub 2021-11-30 14:22:52 +01:00
version Update c/common to an unreleased version 2022-08-02 16:52:56 +02:00
LICENSE bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00