On Tue, Jun 29, 2021 at 11:08:36AM +0200, Stefan Kisdaroczi wrote:
> debmirror fails to handle multiple keyrings specified in a config-file.
>
> config-file:
> @keyrings="/etc/apt/trusted.gpg.d/key-a.gpg,/etc/apt/trusted.gpg.d/key-b.gpg";
In a config file, couldn't you just write:
@keyrings = ("/etc/apt/trusted.gpg.d/key-a.gpg",
"/etc/apt/trusted.gpg.d/key-b.gpg");
?
My concern about applying your patch is that it would break the
(admittedly probably rare, but perfectly valid) case where the path to a
keyring file contains a comma. While it's true that we do manual
comma-separation of other values (release names, section names,
architecture names, rsync-extra directory names), those are all cases
where the individual values themselves may not contain commas.
--
Colin Watson (he/him) [[email protected]]