How do I list the GPG groups?

David Shaw dshaw at
Thu Jan 13 23:16:33 CET 2011

On Jan 13, 2011, at 3:44 PM, Bo Berglund wrote:

> I have defined a group in the gpg.conf file.
> If I encrypt and use this group as recipient then it works just fine.
> But if I try to list the existing groups I cannot find a command that
> does that.
> gpg2 -k
> this just lists the public keys on my keyring and it does not say
> anything about any groups.
> Is there an actual command that can be used to list the groups that
> have been defined for GPG?

gpg --with-colons --list-config group


More information about the Gnupg-users mailing list