spiegel_podman/pkg/domain/entities
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
..
reports podman image scp remote support & podman image scp tagging 2022-06-28 08:54:19 -04:00
types Fix build with GO111MODULE=off 2021-04-15 14:24:39 -04:00
auto-update.go auto-update: simple rollback 2021-08-05 15:20:38 +02:00
container_ps.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
containers.go Podman stop --filter flag 2022-07-26 13:25:36 -04:00
engine.go Standardize on capatalized Cgroups 2022-01-14 12:30:20 -05:00
engine_container.go add podman volume reload to sync volume plugins 2022-06-23 18:36:30 +02:00
engine_image.go podman image scp remote support & podman image scp tagging 2022-06-28 08:54:19 -04:00
engine_system.go Adds tunnel routes for system reset. 2020-05-11 17:03:32 -04:00
events.go Show Health Status events 2022-06-27 10:44:53 -04:00
filters.go Swagger refactor/cleanup 2022-05-19 15:24:18 -07:00
generate.go Handlers for generate systemd with custom dependencies 2022-01-19 21:46:16 +05:00
healthcheck.go podmanv2 enable healthcheck run 2020-03-29 18:48:29 -05:00
images.go Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
machine.go pkg/machine/e2e: do not import from cmd/podman 2022-07-26 14:24:43 -04:00
manifest.go bindings: Add support for Delete in pkg/bingings/manifest 2022-06-29 12:41:57 +05:30
network.go Refactored networkPrune function 2022-07-08 08:33:20 +09:00
play.go play kube: service container 2022-05-12 10:51:13 +02:00
pods.go linter fix from #14299 2022-06-16 16:32:01 -04:00
secrets.go bump go module to version 4 2022-01-18 12:47:07 +01:00
set.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
system.go Refactored networkPrune function 2022-07-08 08:33:20 +09:00
types.go golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
volumes.go add podman volume reload to sync volume plugins 2022-06-23 18:36:30 +02:00