Files
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
..
2020-03-17 17:18:56 +01:00
2020-04-06 12:12:59 -05:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2020-05-11 13:20:32 +02:00
2020-03-12 10:06:51 +05:30
2020-03-27 14:36:03 -04:00
2020-01-13 14:27:02 +01:00
2020-04-16 12:04:46 -05:00
2020-05-06 17:08:22 +02:00
2020-03-27 14:36:03 -04:00
2020-05-11 13:11:07 +02:00
2020-05-06 17:08:22 +02:00
2019-07-22 15:57:23 -04:00
2020-04-05 15:54:51 -05:00
2020-05-20 16:11:05 -04:00
2020-01-25 15:09:09 -06:00
2020-03-28 17:32:22 +01:00
2019-06-25 13:51:24 -05:00
2020-03-27 14:36:03 -04:00
2020-01-13 14:27:02 +01:00
2020-05-04 16:01:45 +02:00
2020-04-17 17:30:58 -04:00
2019-08-28 11:35:00 -04:00
2020-03-27 14:36:03 -04:00
2020-03-27 14:36:03 -04:00
2020-05-05 08:46:51 -05:00
2020-05-05 08:46:51 -05:00
2020-04-06 16:32:36 +02:00
2020-02-13 21:42:57 -05:00
2020-05-05 08:46:51 -05:00
2020-05-13 11:49:17 -07:00
2020-05-05 12:24:33 -05:00