WIP: Use proper keyrings directory
#163
Draft
jlecour
wants to merge 0 commits from debian12-keyring
into unstable
pull from: debian12-keyring
merge into: evolix:unstable
evolix:etherpad
evolix:unstable
evolix:hedgedoc
evolix:p10166-mastodon
evolix:replace_include
evolix:when-not-check
evolix:fix_lxc_php56_debian10
evolix:stable
evolix:debian12
evolix:boost-proxy
evolix:peertube
evolix:evodomains
evolix:vrrp-addresses
evolix:lxc_etc-git
evolix:lxc_etc-commit
evolix:evoacme-v2
evolix:sshd_modular_config
evolix:exclusion_images_evobackup
evolix:rotate_elasticsearch_logs
evolix:evobackup_tags_redux
evolix:log2mail-beats
evolix:T47076
evolix:kvm-guest
evolix:lpoujol/fpm-php
evolix:lxc-php-buster
evolix:simplify-evolinux-users
evolix:openvpn
evolix:newkernel
evolix:etc-git-status-script
evolix:itk-add-EnableCapabilities-off
evolix:ubuntu
evolix:nagios-sudoers
evolix:configurable-swapiness
evolix:alert5-minifirewall-restart
evolix:fail2ban_ips_tag
evolix:audit-ftpadmin
evolix:projet6062
evolix:whitelisting-changes
evolix:uvrrpd
evolix:packweb-apache-lxc
evolix:backup/jlecour/ssh-groups
evolix:nextcloud
evolix:backup/jlecour/nextcloud
evolix:evoadmin-mail
evolix:haproxy_munin
evolix:evolinux-users
evolix:ansible-log
evolix:ansible-managed
evolix:apache-fix-default-vhost
evolix:ipsec
evolix:courier
evolix:spamassassin
evolix:samba
evolix:munin-openbsd
Reviewers
Request review
No reviewers
No Label
bug
duplicate
enhancement
help wanted
invalid
question
security
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Assignees
Assign users
Clear assignees
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: evolix/ansible-roles#163
Reference in new issue
There is no content yet.
Delete Branch 'debian12-keyring'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
We've decided that all gpg/asc files for APT go to
/etc/apt/trusted.gpg.d
, but with APT 2.4 (Debian 12), the proper directory becomes/etc/apt/keyrings
I've added a automatic variables in roles that use this.
I've also added a
signed-by
option in source.list files for thid-party sources.From https://manpages.debian.org/testing/apt/apt-key.8.en.html :
- name: Elastic sources list is available
apt_repository:
repo: "deb https://artifacts.elastic.co/packages/{{ elastic_stack_version | mandatory }}/apt stable main"
repo: "deb [signed-by={{ apt_keyring_dir }}/.asc] https://artifacts.elastic.co/packages/{{ elastic_stack_version | mandatory }}/apt stable main"
s/.asc/elastic&/
In fact, moving to a deb822 format might make this even easier.
It is supported since since apt version 1.1 so it is available (at least) since Debian 8 (jessie).
I've noticed that we almost never update source files outside of Ansible (with the
apt_repository
module), so we could decide to change all custom source files to this new format, without breaking anything.