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 <cjwat...@debian.org>:
>
> 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)                              [cjwat...@debian.org]

Reply via email to