How do I list the GPG groups?

Bo Berglund bo.berglund at gmail.com
Thu Jan 13 21:44:00 CET 2011


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?

Or (horror!) do I have to programmatically locate the gpg.conf file
and parse it myself for the groups and their members?

Since I could not find any I am going to write a GUI program for
handling GPG that actually will work in Win7 too and which recognizes
the groups as recipient entries....
Then I will have more control myself.
I might even do it with FPC/Lazarus to make it cross-platform.


-- 
Bo Berglund
Developer in Sweden




More information about the Gnupg-users mailing list