spiegel_podman/pkg/api/handlers
Miloslav Trmač 4314b1c344 Fix transferring data using tar
Instead of relying on the remote server to create tar files
with the right account IDs (which the remote server doesn't
even know, when the client and server run under different accounts),
have the remote client ignore the account IDs when unpacking.

Then just hard-code 0 in the remote server, so that the remote
server's account identity does not leak in the tar file contents.

Compare https://github.com/containers/image/issues/1627 .

[NO NEW TESTS NEEDED] : https://github.com/containers/podman/pull/18563
suggests that existing tests already cover these code paths / properties.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-11-28 20:44:17 +01:00
..
compat Automatic code cleanups - JetBrains 2023-11-07 14:05:15 -06:00
libpod Fix transferring data using tar 2023-11-28 20:44:17 +01:00
swagger docs(API): Fix compat network (dis-)connect 2023-10-24 17:37:17 +02:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils Set correct exitcode in remove events and change ContainerExitCode from int to int ptr 2023-11-28 13:31:18 +00:00
decoder.go fix: Docker API compatible bool deserialization 2023-08-14 15:09:14 +02:00
types.go remote: exec: do not leak session IDs on errors 2023-10-19 11:34:36 +02:00