summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-09-23 13:35:57 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-09-23 16:07:54 +0200
commitf2c676e99ab6958aa5bf018d37a714be5807e4fe (patch)
tree7227d408c1191205eed084b2b29dd451948365fc /pkg/api
parentc58a677f8edc36c32728a87a6ac2c48d244d7ea2 (diff)
downloadpodman-f2c676e99ab6958aa5bf018d37a714be5807e4fe.tar.gz
podman-f2c676e99ab6958aa5bf018d37a714be5807e4fe.tar.bz2
podman-f2c676e99ab6958aa5bf018d37a714be5807e4fe.zip
[3.4] podman save: enforce signature removal
Enforce the removal of signatures in `podman save` to restore behavior prior to the migration to libimage. We may consider improving on that in the future. For details, please refer to the excellent summary by @mtrmac [1]. [NO TESTS NEEDED] - manually verified but exisiting tests need some further investigation (see [1]). [1] https://github.com/containers/podman/pull/11669#issuecomment-925250264 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/handlers/libpod/images.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/images.go b/pkg/api/handlers/libpod/images.go
index b4f08a746..bfef62867 100644
--- a/pkg/api/handlers/libpod/images.go
+++ b/pkg/api/handlers/libpod/images.go
@@ -357,7 +357,6 @@ func ExportImages(w http.ResponseWriter, r *http.Request) {
Format: query.Format,
MultiImageArchive: len(query.References) > 1,
Output: output,
- RemoveSignatures: true,
}
imageEngine := abi.ImageEngine{Libpod: runtime}