changelog and documentation fix

This commit is contained in:
MKLeb 2022-11-02 17:33:06 -04:00 committed by Megan Wilhite
parent 2e0bd6c5ad
commit 77c1decfc6
2 changed files with 4 additions and 2 deletions

1
changelog/59786.fixed Normal file
View file

@ -0,0 +1 @@
Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url.

View file

@ -293,8 +293,9 @@ def managed(name, ppa=None, copr=None, aptkey=True, **kwargs):
``keyid`` option must also be set for this option to work.
key_url
URL to retrieve a GPG key from. Allows the usage of ``http://``,
``https://`` as well as ``salt://``.
URL to retrieve a GPG key from. Allows the usage of
``https://`` as well as ``salt://``. If ``allow_insecure_key`` is True,
this also allows ``http://``.
.. note::