Hi, 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"; fails with: gpgv: keyblock resource '/etc/apt/trusted.gpg.d/key-a.gpg,/etc/apt/trusted.gpg.d/key-b.gpg': No such file or directory The attached patch fixes it. Regards, Stefan
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.
Hi Colin, in view of the other comma-separated values, it looked like an error. At that moment, I wasn't aware that path names can contain commas. Specifying several key rings in the configuration file works. Feel free to close this bug report. Many Thanks, Stefan Am So., 4. Juli 2021 um 20:51 Uhr schrieb Colin Watson <cjwatson@debian.org>: