Hello,
i have a question regarding the key for the proxmox repository. I stumpled upon this subject as i was removing all occurrences of "apt-key" (which will be removed in bookworm) in my config-management. I only have the one regarding proxmox left.
-----Explanation
Installing PVE on top of debian, the wiki/docs say to put the key for initial installation here:
/etc/apt/trusted.gpg.d/
after installation, and i assume also on bare-metal-iso-installations, the package "proxmox-archive-keyring" is responsible for keeping that key there (and update it to ensure future updates)
Now for "Third-Party" repos, debian doesn't recommend this anymore, see the debian-wiki for more details. (TLDR: keys there are valid for all configured repos, not just the one you want to use them for)
Advised practice now is:
1. put the key in /usr/share/keyrings/
2. add the [signed-by=/usr/share/keyrings/somename-archive-keyring.gpg] to the corresponding repo-sources-list.
-----Question
Are there any plans of changing the location of the apt key? I mean on a BM-Installation one could argue pve isn't a 3P-repo so no problem the key is added system-wide. On a top-of-debian install it could be interpreted as 3P.
Just wanted to know your thoughts on that matter.
i have a question regarding the key for the proxmox repository. I stumpled upon this subject as i was removing all occurrences of "apt-key" (which will be removed in bookworm) in my config-management. I only have the one regarding proxmox left.
-----Explanation
Installing PVE on top of debian, the wiki/docs say to put the key for initial installation here:
/etc/apt/trusted.gpg.d/
after installation, and i assume also on bare-metal-iso-installations, the package "proxmox-archive-keyring" is responsible for keeping that key there (and update it to ensure future updates)
Now for "Third-Party" repos, debian doesn't recommend this anymore, see the debian-wiki for more details. (TLDR: keys there are valid for all configured repos, not just the one you want to use them for)
Advised practice now is:
1. put the key in /usr/share/keyrings/
2. add the [signed-by=/usr/share/keyrings/somename-archive-keyring.gpg] to the corresponding repo-sources-list.
-----Question
Are there any plans of changing the location of the apt key? I mean on a BM-Installation one could argue pve isn't a 3P-repo so no problem the key is added system-wide. On a top-of-debian install it could be interpreted as 3P.
Just wanted to know your thoughts on that matter.