WKD: Publishing a key for multiple user IDs

Wiktor Kwapisiewicz wiktor at metacode.biz
Tue Jul 16 12:34:30 CEST 2019

On 16.07.2019 12:16, Werner Koch via Gnupg-users wrote:
>> So if I have two email addresses/user IDs me at my.org and me2 at my.org
>> associated with the same key, I cannot just export the key and publish
>> it, right? I have to somehow publish two different ‘stripped’ public
> Sight.  GnuPG handles this for you if your frontend uses gpg-wks-cleint
> for this.  You can use this tool also to create a local copy of server
> data structure and then sysc it up.

If you've got only gpg installed you can use export filters to prepare a 
stripped key:

$ gpg --export-options export-clean --export-filter keep-uid=mbox=$EMAIL 
--export $EMAIL

Hope this helps.

Kind regards,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 919 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190716/fca5c5f6/attachment-0001.sig>

More information about the Gnupg-users mailing list