CDIST-TYPE__APT_KEY(7) | cdist | CDIST-TYPE__APT_KEY(7) |
cdist-type__apt_key - Manage the list of keys used by apt
Manages the list of keys used by apt to authenticate packages.
This is done by placing the requested key in a file named $__object_id.gpg in the keydir directory.
This is supported by modern releases of Debian-based distributions.
In order of preference, exactly one of: source, uri or keyid must be specified.
None.
# add a key that has been verified by a type maintainer __apt_key jitsi_meet_2021 \ --source cdist-contrib/type/__jitsi_meet/files/apt_2021.gpg # remove an old, deprecated or expired key __apt_key jitsi_meet_2016 --state absent # Get rid of a key that might have been added to # /etc/apt/trusted.gpg with apt-key __apt_key 0x40976EAF437D05B5 --use-deprecated-apt-key --state absent # add a key that we define in-line __apt_key jitsi_meet_2021 --source '-' <<EOF -----BEGIN PGP PUBLIC KEY BLOCK----- [...] -----END PGP PUBLIC KEY BLOCK----- EOF # download or update key from the internet __apt_key rabbitmq_2007 \ --uri https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
Steven Armstrong <steven-cdist--@--armstrong.cc> Ander Punnar <ander-at-kvlt-dot-ee> Evilham <contact~~@~~evilham.com>
Copyright (C) 2011-2021 Steven Armstrong, Ander Punnar and Evilham. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ungleich GmbH 2021
September 26, 2023 | 7.0.0 |