debian-forge/osbuild/util
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
..
__init__.py util: mark as module 2020-04-21 17:00:04 +02:00
checksum.py util: add new checksum related utilities 2021-05-12 14:26:16 +02:00
ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
jsoncomm.py util/jsoncomm: chain the BufferError in recv 2020-10-30 17:28:31 +01:00
linux.py osbuild: fix spelling mistakes found by codespell 2020-10-06 14:41:00 +02:00
lorax.py utils/lorax: add lorax template related helpers 2021-02-19 14:42:32 +00:00
osrelease.py util/osrelease: add default os-release paths 2020-10-21 11:13:28 +02:00
ostree.py util/ostree: accept typing.List for List[str] 2020-06-09 13:42:35 +02:00
rhsm.py sources/curl: Implement new way of getting RHSM secrets 2021-06-04 18:23:05 +01:00
rmrf.py util/rmrf: use immutable helpers 2020-04-21 14:46:02 +02:00
selinux.py util/selinux: add gefilecon helper 2020-06-15 20:36:48 +02:00
types.py util: add types module defining PathLike type 2020-07-27 12:50:38 +01:00