Key Groups
A key group bundles several public keys together, so you can use them as one key. This makes it easy to send an encrypted message or file to several people at the same time.
What is a Key Group?
Section titled “What is a Key Group?”Think of a key group as a mailing list for encryption. You give the group a name and put public keys inside it. When you encrypt to the group, every person whose key is in the group can open the message.
Without a group, you would have to pick each person’s key one by one. With a group, you pick the group once and you are done.
What you should know
Section titled “What you should know”- A group holds one or more public keys.
- You can use a group anywhere you would use a single public key, such as when you encrypt a file.
- A group can hold other groups inside it. This helps you build bigger groups out of smaller ones.
- You can add or remove keys from a group at any time.
- Each group has a name so you can find it easily.
- Each group belongs to one key database. If you switch to another key database, you see only the groups made there.
Create a Key Group
Section titled “Create a Key Group”-
Pick the keys. In the Key ToolBox, tick the box at the start of the row of each public key you want in the group.
-
Click the New Key Group button. It is in the row of buttons above the key list.

-
Fill in the details. A window called New Key Group opens. Type a Name. The Email and Comment are optional. Click Create.

-
Done. Your new group shows up in the key list. Its Type is
group. You can now use it just like a single public key.
Edit a group
Section titled “Edit a group”You can change a group whenever you want. Double-click the group in the key list to open the Key Group Management window.
If some keys in the group are no longer in your key database, a window called Invalid Keys in Group opens first. It lists those keys and asks if you want to remove them from the group. Click Yes to remove them, or No to keep the group as it is.

The window has three parts:
- At the top: the group’s name, with two buttons:
- Edit… changes the group’s name, email, and comment.
- Delete Group… deletes the group. The keys in it are not deleted.
- On the left, Members: the keys and groups that are in this group now. A group inside this group shows its own members below it. Type in the Filter members box to find a member.
- On the right, Available Keys: keys and groups you can still add.
Add keys to the group
Section titled “Add keys to the group”- In Available Keys, tick the box next to each key or group you want. To find a key quickly, press Ctrl+F and type in the search box above Available Keys.
- Click Add, or press Alt+Left.
Remove keys from the group
Section titled “Remove keys from the group”- In Members, tick the box next to each key you want to take out.
- Click Remove, or press Alt+Right. You can also press Delete.
Right-click a member
Section titled “Right-click a member”Right-click a key or group in Members for these choices:
- Remove from Group: take this member out of the group. This shows only for direct members, not for keys inside a nested group.
- Manage Group…: open a nested group in its own Key Group Management window.
- Key Details…: show the details of a key.
Change the name, email, or comment
Section titled “Change the name, email, or comment”- Click Edit… at the top of the window.
- The Edit Key Group window opens. Change the Name, Email, or Comment.
- Click Save.
These details only name the group. Changing them does not change which keys are in it.
When to use Key Groups
Section titled “When to use Key Groups”- A whole team. Encrypt a file once for your whole team. Everyone whose key is in the group can open it.
- Roles. Make groups like “Developers”, “Managers”, or “Auditors”. To give or take away access, just change who is in the group.
- Groups inside groups. Build a big group from smaller ones. For example, a “Project A” group can hold a “Frontend Team” group and a “Backend Team” group.
Things to keep in mind
Section titled “Things to keep in mind”Key groups are easy to use, but they follow a few rules. Read these so you know what to expect.
Setting trust for the whole group
Section titled “Setting trust for the whole group”Right-click a group in the Key ToolBox and choose Set Owner Trust Level. That trust level is then applied to every key in the group, including keys in any groups nested inside it. This is a fast way to set trust for many people at once.
This choice is only there when the current key database uses GnuPG. With the rPGP engine, the menu does not show Set Owner Trust Level.
Only encryption keys can join
Section titled “Only encryption keys can join”You can only add a key that can encrypt (it has an E in its Usage
column). A key that cannot encrypt is not listed under Available Keys.
Broken groups turn off by themselves
Section titled “Broken groups turn off by themselves”When you start GpgFrontend, it checks each group. If a key in a group is gone or can no longer encrypt, the group is turned off.
- A turned-off group does not show in the Key ToolBox.
- You can still see and fix it in the KeyPair Management window. It is shown in red there, so you know something is wrong.
- If a group inside another group breaks, the outer group is turned off too.
What groups can and cannot do
Section titled “What groups can and cannot do”A key group is only for encryption. You cannot use a group to sign, to decrypt, or to certify.
Groups stay inside GpgFrontend
Section titled “Groups stay inside GpgFrontend”Key groups live only inside GpgFrontend. They are not the same as GnuPG’s
“keygroup” feature and they are not saved in the gpg.conf file. Other OpenPGP
tools will not see your groups.