[Pkg-gnupg-maint] Bug#454743: not a bug

David Shaw dshaw at jabberwocky.com
Sun Aug 10 12:22:55 UTC 2008


On Jul 28, 2008, at 5:00 PM, Michelle Konzack wrote:

> Hello David,
>
> Am 2008-07-28 11:39:00, schrieb David Shaw:
>> Agreed that it isn't GPG's job to rewrite addresses, but that said,
>> GPG does actually have the feature that was requested:
>>
>>  keyserver mailto:pgp-public-keys at keys.nl.pgp.net?from=my-addr at example.com
>>
>> I.e. add '?from=address' to the end of the keyserver line.
>>
>> David
> ------------------------ END OF REPLIED MESSAGE  
> ------------------------
>
> Thanks for this info, but look again in the Message from me.
>
> "gpg" has used the GECOS field as "From:" instead of LOGIN. I  am   
> using

I don't quite understand how.  The code in gpgkeys_mailto that gets  
the login string is:

   ($login,$name)=(getpwuid($<))[0,6];

And the From line is generated as:

   $from="$name <$login>";

You might try editing the gpgkeys_mailto script to print out (to  
stderr) those variables as they are found.  It may help shed some  
light on what is happening in your case.

David





More information about the Pkg-gnupg-maint mailing list