spiegel_podman/vendor/github.com/containers/image/v5
Valentin Rothberg dc80267b59 compat handlers: add X-Registry-Auth header support
* Support the `X-Registry-Auth` http-request header.

 * The content of the header is a base64 encoded JSON payload which can
   either be a single auth config or a map of auth configs (user+pw or
   token) with the corresponding registries being the keys.  Vanilla
   Docker, projectatomic Docker and the bindings are transparantly
   supported.

 * Add a hidden `--registries-conf` flag.  Buildah exposes the same
   flag, mostly for testing purposes.

 * Do all credential parsing in the client (i.e., `cmd/podman`) pass
   the username and password in the backend instead of unparsed
   credentials.

 * Add a `pkg/auth` which handles most of the heavy lifting.

 * Go through the authentication-handling code of most commands, bindings
   and endpoints.  Migrate them to the new code and fix issues as seen.
   A final evaluation and more tests is still required *after* this
   change.

 * The manifest-push endpoint is missing certain parameters and should
   use the ABI function instead.  Adding auth-support isn't really
   possible without these parts working.

 * The container commands and endpoints (i.e., create and run) have not
   been changed yet.  The APIs don't yet account for the authfile.

 * Add authentication tests to `pkg/bindings`.

Fixes: #6384
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-29 15:39:37 +02:00
..
copy Bump github.com/containers/image/v5 from 5.4.3 to 5.4.4 2020-05-11 14:40:55 -04:00
directory vendor github.com/containers/image/v5@v5.2.0 2020-02-05 09:55:50 +01:00
docker compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
image Update vendor of boltdb and containers/image 2020-03-29 06:16:27 -04:00
internal Bump github.com/containers/image/v5 from 5.4.3 to 5.4.4 2020-05-11 14:40:55 -04:00
manifest compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
oci build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
openshift vendor c/image v5.4.2 2020-04-07 12:09:48 +02:00
ostree build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0 2019-12-20 09:30:47 -05:00
pkg compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
signature compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
storage Update vendor of boltdb and containers/image 2020-03-29 06:16:27 -04:00
tarball Update vendor of boltdb and containers/image 2020-03-29 06:16:27 -04:00
transports bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00
types vendor c/image v5.4.2 2020-04-07 12:09:48 +02:00
version compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
LICENSE bump containers/image to v5.0.0, buildah to v1.11.4 2019-10-29 13:35:18 -04:00