Bug#970796: cloud-init: Please add gnupg to Recommends
Package: cloud-init
Version: 20.2-2
Severity: normal
Dear Maintainer,
cloud-init uses gnupg in two ways: directly, to fetch and export keys
(when specified by ID, see [0]), and via apt-key to add keys to the system
(whether specified via ID or in full, see [1]). (Even once we remove
apt-key usage[2], we will still need it for the former use case.)
I've just opened a PR[3] to add this to our Ubuntu packaging, and would
request that you do the same so that Debian users are able to configure
custom apt sources using cloud-init configuration.
(My assumption here is that Debian cloud images are built with
--install-recommends; if not, then you may want to consider ensuring
that gnupg is present in Debian cloud images via other means.)
Thanks!
Dan
[0] https://github.com/canonical/cloud-init/blob/master/cloudinit/gpg.py
[1] https://github.com/canonical/cloud-init/blob/master/cloudinit/config/cc_apt_configure.py#L698
[2] https://bugs.launchpad.net/cloud-init/+bug/1836336
[3] https://github.com/canonical/cloud-init/pull/583
Reply to: