debian-forge/osbuild
Martin Sehnoutka ee3760e1ba sources/curl: Implement new way of getting RHSM secrets
The previous version covered too few use cases, more specifically a
single subscription. That is of course not the case for many hosts, so
osbuild needs to understand subscriptions.

When running org.osbuild.curl source, read the
/etc/yum.repos.d/redhat.repo file and load the system subscriptions from
there. While processing each url, guess which subscription is tied to
the url and use the CA certificate, client certificate, and client key
associated with this subscription. It must be done this way because the
depsolving and fetching of RPMs may be performed on different hosts and
the subscription credentials are different in such case.

More detailed description of why this approach was chosen is available
in osbuild-composer git: https://github.com/osbuild/osbuild-composer/pull/1405
2021-06-04 18:23:05 +01:00
..
formats fmt/v1: correctly infer result from assembler 2021-03-09 21:40:47 +00:00
util sources/curl: Implement new way of getting RHSM secrets 2021-06-04 18:23:05 +01:00
__init__.py pipeline: remove Assembler class 2021-01-19 10:42:26 +01:00
__main__.py osbuild: always return exit code 2020-10-27 22:04:09 +01:00
api.py api: ensure parent of socket dir exists 2020-12-04 12:28:30 +01:00
buildroot.py buildroot: bind mount mke2fs config 2021-02-19 14:42:32 +00:00
inputs.py inputs: remove type info for info param 2021-02-06 12:04:30 +01:00
loop.py loop: use python 3 style base class initialization 2020-10-30 17:28:31 +01:00
main_cli.py main_cli: add --export command line argument 2021-02-12 15:55:43 +01:00
meta.py meta: Index now support different schema versions 2021-02-12 15:55:43 +01:00
monitor.py monitor/log: print pipeline information 2021-02-12 15:55:43 +01:00
objectstore.py objectstore: add source method to api 2021-02-06 12:04:30 +01:00
pipeline.py pipeline: remove sources server 2021-04-29 12:58:01 +02:00
remoteloop.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
sources.py sources: remove server and get method 2021-04-29 12:58:01 +02:00
treesum.py treesum: handle special device files 2021-02-16 23:00:13 +00:00