GPG equivalent of PGP's --group option?

Kerry Walker Kerry_Walker at
Wed Aug 4 19:45:05 CEST 2004

I use PGP to encrypt data for sending to various end users by encrypting
files using their public key they have provided.  To make it possible for
me to associate their key with a meaningful user_id ,  I use the PGP
--group-add option to create a group name containing a meaninful user_id
and then add their public key to the group.  Now, I can call --encrypt with
the meaningful user_id, instad of having to use the actual key id.  I'm
looking for a similar "alias" functionality in GPG but I can't find
anything that works quite like that.  The adduid command requires that I
have the private key also that goes with the public key I want to associate
with a meaningful user_id.

Does anyone know of a solution that is part of the GPG functionality?

CONFIDENTIALITY NOTICE  This e-mail message and any attachments are only
for the use of the intended recipient and may contain information that is
privileged, confidential or exempt from disclosure under applicable law.
If you are not the intended recipient, any disclosure, distribution or
other use of this e-mail message or attachments is prohibited.  If you have
received this e-mail message in error, please delete and notify the sender
immediately. Thank you.

More information about the Gnupg-users mailing list