feat(docker): pin the Docker apt key by checksum

The key that signs the Docker repository was trusted as whatever the URL served. It is now checked
against a pinned sha256, so a changed key stops the install until a person has verified it.

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-27 22:09:56 +00:00
1 parent b3b62121a3
commit c7c38c6bc0
8 files changed
+78 -2

No files matched your search

+1
View File
@@ -23,6 +23,7 @@
ansible.builtin.get_url:
url: "{{ docker_gpg_url }}"
dest: "{{ docker_keyring_path }}"
checksum: "sha256:{{ docker_keyring_checksum }}"
mode: "0644"
tags: [docker, install]