Hi,

On Sat, July 26, 2008 14:07, Piotr Ożarowski wrote:
> I did all latest griffith uploads, lets see what who-uploads returns:
>
> | $ who-uploads griffith
> | Uploads for griffith:
> | 0.9.7-1 to unstable: Giunchedi Filippo <[EMAIL PROTECTED]>
[...]
> | $ who-uploads --no-default-keyrings bash
> | Uploads for bash:
> | 3.2-4 to unstable: Piotr Ożarowski <[EMAIL PROTECTED]>

This turns out to be due to the parsing of "gpg --verify"'s output in
order to determine the key ID used to sign the upload. The code expects
that the output will contain "ID [0-9A-Z]+" which isn't the case for
pl_PL.UTF-8, at least.

If the string isn't found, $GPG_ID is set to an empty string, which leads
gpg --list-key to return *all* keys in the keyring, which who-uploads will
then select the first from - in the default case, this will be Filippo's
as he's listed first in debian-keyring.gpg; when you disable the default
keyrings your key is used as it's first in your local keyring.

Ensuring that the initial --verify call is made with LC_ALL=C means that
the output is in the expected format and everything proceeds correctly.

Regards,

Adam





-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to