The Main Window
This page is a tour of the GpgFrontend window. It shows you where each part is and what it does.
When GpgFrontend starts, a small Starting GpgFrontend window may appear first. It shows a progress bar and a line that says what is loading, such as your key databases or modules. The main window opens when loading is done.

The Window at a Glance
Section titled “The Window at a Glance”The window has five main parts:
- Toolbars (top): the main buttons, like Encrypt, Decrypt, Sign, and Verify.
- Workspaces (center): tabs where you work on files, text, or email.
- Key ToolBox (right): the list of your keys.
- Status Panel (below the workspace): shows the result of each task.
- Status Bar (bottom): tells you which profile and which engine you are using. A profile is one set of settings and keys. An engine is the program that does the encryption work, such as GnuPG.
GpgFrontend remembers where each window was and how big it was. If you close a window while it is maximized, it opens maximized again next time. (Changed in v2.2.6. Before, windows moved down a little on each start, and a maximized window did not come back maximized.)
The rest of this page explains each part.
Workspaces
Section titled “Workspaces”A workspace is a tab in the middle of the window. You do your work in it. There are three kinds:
- File Panel: work on files and folders.
- Text Editor: write, encrypt, and decrypt plain text.
- Mail Editor: work with email messages.
You can open many tabs of each kind and switch between them at any time.
When GpgFrontend starts, it opens one tab for you. Which kind it opens is set in Settings > General > Default Workspace As:. Pick File Panel (the default) or Text Editor. Sandboxed builds hide this setting and always start with a Text Editor tab (see Editions and Builds).
Work With Many Tabs
Section titled “Work With Many Tabs”All tabs stay in one row at the top of the workspace. When there are more tabs than fit, the row scrolls:
- Turn the mouse wheel, or swipe on the trackpad, over the row. The row moves, but the tab you are in stays the same.
- Point at a tab to see its full name, where its file is, and whether it has unsaved changes.
- If two tabs have the same name, GpgFrontend adds part of the folder name after the title, so you can tell them apart.
To close a tab, click the X on it, or click it with the middle mouse button. To open a new Text Editor tab, double-click the empty part of the row.
Right-click a tab’s title to see these choices:
- Close: close this tab.
- Close Others: close every tab except this one.
- Close to the Right and Close to the Left: close the tabs on that side of this one.
- Close Unmodified: close every tab that has no unsaved changes.
- Close All: close every tab.
- Copy Name: copy the tab’s name.
- Copy Path: copy the path of the tab’s file or folder.
- Reveal in File Browser: show the file or folder in your system’s file manager.
Copy Path and Reveal in File Browser are greyed out for a tab that is not saved to a file yet. When you close several tabs and some have unsaved changes, GpgFrontend asks only once. See Unsaved Changes.
Find an Open Tab
Section titled “Find an Open Tab”- Click View > Show Open Tabs…, or press Ctrl+Shift+A. You can also click the Show Open Tabs button at the end of the tab row.
- A list of all open tabs appears, with a Search open tabs box.
- Type part of a name to shorten the list.
- Click a tab in the list, or press Enter, to go to it. To close a tab from the list, click the X at the end of its row, or press Ctrl+W.
Switch Between Tabs With the Keyboard
Section titled “Switch Between Tabs With the Keyboard”- Ctrl+Tab goes to the tab you used last. Keep Ctrl held down and press Tab again to go further back in the order you used them. Let go of Ctrl to stay on that tab.
- Ctrl+Page Down and Ctrl+Page Up go to the next or the previous tab in the row, from left to right.
When No Tab Is Open
Section titled “When No Tab Is Open”If you close every tab, the workspace shows No open documents. Click New Text to start a new text, or Open File… to open a file. Some modules add more ways to start here, such as Mail Editor.
File Panel
Section titled “File Panel”Use the File Panel to work on files and folders. You can:
- Browse your folders and select files.
- Encrypt, decrypt, sign, or verify a file.
- Turn on Batch Mode to work on many files at once.
- Choose between text (ASCII) and binary output.
- Encrypt a whole folder as one file.
Along the top is a path bar. It shows the folder you are in, one step at a time. Click any step to jump straight there.
Files and folders you open always appear in a File Panel tab.
For the steps, see File Operations.
Text Editor
Section titled “Text Editor”In the Text Editor you type new text or open a text file. For the steps, see Text Operations.
Main Features
Section titled “Main Features”- Toolbar buttons: the buttons at the top of the window encrypt, decrypt, sign, and verify the text in the tab.
- Standard shortcuts: the usual keys work, such as Ctrl+C to copy, Ctrl+V to paste, and Ctrl+S to save. See Keyboard Shortcuts.
- Plain text only: text is saved as UTF-8 with no formatting, for clarity and compatibility. Rich text editing may come later.
- Built-in font: by default the editor uses JetBrains Mono NL, a font that comes with GpgFrontend. It covers Latin, Greek and Cyrillic letters. Other scripts, such as Arabic or Chinese, use a font from your system. To pick another font, open Settings > Appearance.
- File size limit: files larger than 4 MB do not open in the Text Editor. To encrypt or sign a bigger file, select it in the File Panel instead.
- Text files only: a file that looks like a binary file (for example a picture or a program) does not open in the Text Editor. A File Open Error message says so. Use the File Panel for such files.
- Large files: while a large file loads, you cannot edit it. Editing works again when loading is done.
- Zoom: to make the text bigger or smaller, click Edit > Zoom In or Edit > Zoom Out. You can also press Ctrl++ or Ctrl+- (Cmd on macOS). This changes only the tab you are in.
The Status Strip
Section titled “The Status Strip”Below the text, a thin strip shows facts about the text in the tab:
- Ln and Col: the line and column where the cursor is.
- chars: how many characters the text has. A
*after it means the tab has changes that are not saved yet. - LF or CRLF: how lines end in this text. LF is the usual style on macOS and Linux. CRLF is the usual style on Windows.
- UTF-8: the text encoding. An encoding is the way letters are stored as bytes.
- SHA256: the start of a checksum of the text. A checksum is a short code worked out from the text. If the text changes, the code changes too. Point at it to see the full code.
The strip is not shown in an email tab.
Text Direction
Section titled “Text Direction”Some languages, such as Arabic and Hebrew, are written from right to left. To change the direction of the text, click View > Text Direction. Or right-click in the editor and choose Text Direction. There are three choices:
- Automatic: each line follows the direction of its own first letter. This is the default.
- Left-to-Right: every line runs from left to right.
- Right-to-Left: every line runs from right to left.
The choice applies only to the tab you are in. It is not saved: every new tab starts with Automatic.
Find Text
Section titled “Find Text”- Click Edit > Find, or press Ctrl+F (Cmd+F on macOS).
- A find bar opens at the top of the text. Type a word in the Find: box. GpgFrontend jumps to the next match as you type.
- To go to the next match, press Enter or F3, or click the next button. To go back, press Shift+F3, or click the previous button.
- To close the find bar, press Esc or click its close button.
The search looks only at the text in the current tab. Upper and lower case must match: “Key” does not find “key”. When the search reaches the end of the text, it starts again from the top.
F3, Shift+F3 and Esc work only while the find bar has the focus. Find is greyed out in a File Panel tab.
Quote Text and Remove Spacing
Section titled “Quote Text and Remove Spacing”The Edit menu has two tools that change the whole text in the tab:
- Quote: puts
>at the start of every line, as email apps do when you reply to a message. It works on all of the text, not only the part you selected. - Remove spacing: turns each pair of line breaks into one. This removes the empty lines that often appear when you paste text from a web mail page.
Both work only in a Text Editor tab. In an email tab they are greyed out, because changing the lines of a message could break it. You can also show them as buttons: click View > Text Tools.
Mail Editor
Section titled “Mail Editor”The Mail Editor works on email messages saved as .eml files. EML is a standard file format for one email message, and most email apps can read it.
- Open an email file: open an .eml file to view and edit the message.
- Write and protect email: to start a new message, click File > Workspace > Mail Editor. Write the message, then encrypt or sign it. You can also verify a signed message.
- Two views: at the top of an email tab, click Message to see the message as you would read it. Click Raw Source to see the raw text of the file.
- Edit the raw text: the Raw Source view always opens read-only. To change the raw text, click Edit Raw Source at the right of the view bar. Click Stop Editing when you are done. For some messages, such as a signed or encrypted one, editing is blocked. Then the button is greyed out, and its tooltip says why.
In an email tab, the Status Panel starts as a thin bar, so the message has more room. See Make the Panel Smaller.
For everything you can do with email, see the Email Overview.
The Mail Editor comes from the Email module. If that module is turned off, Mail Editor is not in the Workspace menu. See Module Controller.
Unsaved Changes
Section titled “Unsaved Changes”A text or email tab with changes that are not saved yet shows a dot where its X would be. Point at the dot and it turns back into the X.
Close a Tab With Changes
Section titled “Close a Tab With Changes”When you close such a tab, a message called Unsaved Document asks: “The document “name” has been modified. Do you want to save your changes?” Pick one of the buttons:
- Save: save the tab, then close it. If the tab was never saved to a file, a Save File window asks where to put it first.
- Discard: close the tab and lose the changes. On macOS this button is called Don’t Save. Some Linux desktops call it Close without Saving.
- Cancel: keep the tab open.
If you close several tabs at once (for example with Close Others or File > Close All Tabs) and two or more have unsaved changes, the Unsaved Files window described below asks about all of them together. Cancel keeps every tab open. If a save does not work, that tab stays open with its text, and the other tabs still close.
Quit With Unsaved Tabs
Section titled “Quit With Unsaved Tabs”What happens depends on the setting Cache text editor contents. in Settings (on macOS, Preferences) > General:
- On (the default): GpgFrontend does not ask. It keeps a copy of your unsaved tabs and brings them back the next time it starts. See Unsaved Editor Tabs.
- Off, with one unsaved tab: the same Unsaved Document message appears.
- Off, with two or more unsaved tabs: a window called Unsaved Files
appears. It lists the tabs, and all of them are ticked. Untick any you do
not want to save. Then click a button:
- Save: save the ticked tabs and quit. Changes in unticked tabs are lost. If a save does not finish, for example because you closed the Save File window, GpgFrontend stays open.
- Discard: quit without saving anything.
- Cancel: stay in GpgFrontend.
The same questions appear when GpgFrontend has to restart, for example after some changes in Settings.
Status Panel
Section titled “Status Panel”After each task, such as encrypting or verifying, the Status Panel shows what happened and whether the task worked. It also shows details such as the time, the key IDs, and the algorithms used.
Color Coding for Status
Section titled “Color Coding for Status”- Green: the task worked, no problems.
- Orange: the task worked, but with a warning to check.
- Red: the task failed, or the result cannot be trusted.
- Grey: nothing has happened yet.
Switch Views
Section titled “Switch Views”The panel has two views. Use the switch at the top of the panel to change between them:
- Status: a short, easy-to-read summary of the task.
- Details: the full, raw text straight from the engine.
GpgFrontend remembers your choice.
Make the Panel Smaller
Section titled “Make the Panel Smaller”When you need more room, you can shrink the panel:
- Click Collapse to shrink the panel to a thin bar. The bar still shows a coloured dot and the result of the last task.
- Click Expand, or double-click the bar, to open the panel again.
- Click the X on the bar to close the panel. To bring it back, click View > Status Panel.
When a new result arrives, the panel opens again by itself, even if you collapsed or closed it.
Email tabs shrink the panel to a bar on their own. If you dragged the panel out into its own window (a floating panel), it is not shrunk while it floats. If you put it back into the main window while an email tab is open, it shrinks then. A panel that an email tab shrank opens fully again when you drag it out.
Read the Report
Section titled “Read the Report”In the Status view, each result is shown as a small report page with the heading SECURITY OPERATION REPORT. The report has one short card for each file or piece of text. Each card lists the important facts.

The report also has a round stamp with a check mark, a cross, or an exclamation mark. The stamp shows the result at a glance. It uses the same colours as in Color Coding for Status.
Panel Actions
Section titled “Panel Actions”- Copy: copies the status text to the clipboard.
- Save: saves what the panel shows. What you get depends on the view.
- In the Status view, you get the report as a picture (a PNG file).
- In the Details view, you get the text as a plain text file.
- Magnify: opens the report in a bigger view. You can only use it while the Status view shows a report.
- Clear: empties the panel, ready for the next task.
Magnify a Report
Section titled “Magnify a Report”Click Magnify to open the report in a window called Document Preview. Its title also shows the report’s ID, if it has one. At first the whole report fits in the window, but a small report is never shown larger than its real size.
The small buttons at the top of the window, from left to right:
- Zoom out: make the report smaller.
- The number between the zoom buttons shows the current size, such as
100%. - Zoom in: make the report bigger.
- Fit to window: show the whole report in the window.
- Actual size (100%): show the report at its real size.
You can also turn the mouse wheel to zoom in and out. The size can go from 10% to 1000%. When the report is bigger than the window, drag it with the mouse to see other parts.
Key ToolBox
Section titled “Key ToolBox”On the right side, the Key ToolBox lists all your keys: public keys, private keys, and key groups.
Main features:
- Selection: tick the boxes to pick keys for a task. With the keyboard, move to a key and press Space to tick or untick it.
- Type / Usage / Email Address: see at a glance what each key is for.
- Search: the box at the top finds keys by name, email, key ID, or fingerprint. Press Escape to clear it.
- Categories: the thin coloured strip beside the list filters your keys. See Key Categories.
Keys that are expired, revoked, or disabled are hidden by default. To see them, click Manage Keys to open the KeyPair Management window. That window is also where you look after your keys. The Key ToolBox is only for picking them. See Manage Your Keys.
To hide the Key ToolBox and give the workspace more room, click View > Key ToolBox. Click it again to show the list. You can also drag the Key ToolBox by its title to the left side of the window, or out into a window of its own.
The Small Buttons Above the List
Section titled “The Small Buttons Above the List”- Refresh: read your keys again from disk.
- Check All and Uncheck All: tick or untick every key in the current category. The uncheck button shows a small count of how many keys are ticked right now.
- Columns: choose which columns to show, and reset their widths.
- New Key Group: make a group from the keys you have ticked.
- Key database button: switch between key databases. The button shows the name of the one you are in. See Key Databases.
Right-Click a Key
Section titled “Right-Click a Key”Right-click a key in the Key ToolBox to work with it straight away:
- Append Public Key to Editor: add the public key block to the text in the current tab.
- Append Create DateTime to Editor, Append Expire DateTime to Editor and Append Fingerprint to Editor: add that detail to the text.
- Copy Email, Copy Default UID and Copy Key ID: copy that detail to the clipboard.
- Set Owner Trust Level: say how much you trust the key’s owner. This needs the GnuPG engine. See Trust Chain Management.
- Add To Category: put the key in one of your categories.
- Show Key Details: open the key’s details window.
The KeyServerSync module adds Publish Public Key to Key Server and Refresh Public Key From Key Server to this menu. See Key Server Operations.
Read the Key ToolBox Table
Section titled “Read the Key ToolBox Table”The Type, Usage and Status columns use short codes. Here is what they mean.
Type:
| Code | Meaning |
|---|---|
pub |
A public key (for encryption or verification). |
pub/sec |
A key pair with both a public and a private key. |
pub/sec# |
A key pair whose primary private key is not on this computer. |
pub/sec^ |
One or more parts of the key are stored on a smart card. The ^ can follow #, as in pub/sec#^. |
group |
A key group (several public keys used together as one recipient). |
Usage (what the key can do):
| Code | Meaning |
|---|---|
C |
Certification: can sign other keys (usually primary keys only). |
E |
Encryption: can encrypt data to this key. |
S |
Signing: can create digital signatures. |
A |
Authentication: can be used to log in (for example, SSH). |
Status (whether the key is fit to use):
| Code | Meaning |
|---|---|
OK |
Nothing wrong with it. |
Expiring Soon |
Still works, but will expire soon. |
Expired, Revoked, Disabled |
Cannot be used. |
Rows are tinted to match the Status column, so a problem key stands out at a glance.
Use the Columns button to show or hide columns such as Expire Date and Status. Each key list remembers its own columns. So the Key ToolBox can show a few columns while the KeyPair Management window shows many.
Toolbars
Section titled “Toolbars”The toolbars at the top hold buttons for the main tasks. There are three toolbars: File, Operations and Keys. Here are their buttons, from left to right:
| Button | What it does |
|---|---|
| Open | Open a file or folder in the File Panel. |
| Workspace | Open a new tab (File Panel, Text Editor or Mail Editor). |
| Save File | Save the file in the current tab. |
| Encrypt | Lock the selected files or text for the chosen recipients. |
| Decrypt | Unlock the selected files or text. You don’t need to pick a key. GpgFrontend finds the right private key for you. |
| Sign | Sign the selected files or text with your private key. |
| Verify | Check the signature on the selected files or text. |
| New Keypair | Make a new key pair. Press and hold the button, or right-click it, for Quick Generate. That makes a key in one click. |
| Import | Add existing public or private keys. |
| Manage Keys | Open the KeyPair Management window. |

To hide or show a toolbar, open the View menu and click its name. Two more toolbars are hidden at first: Edit (Copy, Paste, Select All) and Text Tools (Quote, Remove spacing).
Encrypt & Sign, Decrypt & Verify and Sym. Encrypt are not on the toolbar at first. You can always find them in the Operations menu, or add them to the toolbar (see Customization).
Buttons With More Than One Action
Section titled “Buttons With More Than One Action”When you add more actions to the toolbar, related actions share one button:
- The Encrypt button can hold Encrypt, Encrypt & Sign and Sym. Encrypt.
- The Decrypt button can hold Decrypt and Decrypt & Verify.
Here is how to use such a button:
- Click it to run the action shown on the button.
- Right-click it, or press and hold it, to see all its actions. Then pick the one you want.
- If the action shown on the button can’t be used right now, a click opens the list instead. So you can still reach the other actions.

Sym. Encrypt is never the action shown on a shared button. When it shares the Encrypt button, you always pick it from the list. If Sym. Encrypt is the only action you ticked in the Encrypt row, it gets a plain button of its own.
Customization
Section titled “Customization”You can hide buttons you don’t use, or add ones you use often:
- Open Settings and go to Appearance.
- Under Toolbar, tick what you want in the Actions list. The list is arranged by button: the Encrypt row, then the Decrypt row, then Sign and Verify. In this list, Encrypt & Sign is called Encrypt Sign, and Decrypt & Verify is called Decrypt Verify.
- If you ticked more than one action in the Encrypt or Decrypt row, an On click choice appears for that row. Pick the action you want a plain click to run. The other ticked actions stay in the right-click list.
On click only lists the actions you ticked. It does not show at all when a row has only one action ticked.
At first only Encrypt, Decrypt, Sign and Verify are ticked.
One of the other actions is Sym. Encrypt. It encrypts with a password instead of a key. See Symmetric Encryption & Decryption.
Instant messaging has no toolbar buttons. Its actions are in the Operations menu. See Instant Messaging.
Use the File and Edit Menus
Section titled “Use the File and Edit Menus”File Menu
Section titled “File Menu”- Open: open a file (File…) or a folder (Directory…) in a File Panel tab.
- Workspace: open a new tab. New File Panel and New Text Editor are always there. The Email module adds Mail Editor.
- Save File: save the current tab. If it was never saved, GpgFrontend asks where to put it.
- Save As…: save the current tab under a new name or in another place.
- Print: print the text in the current tab. Your system’s print window opens first, so you can pick a printer.
- Close Tab: close the current tab. If it has unsaved changes, GpgFrontend asks first. See Unsaved Changes.
- Close All Tabs: close every tab, File Panel tabs too. GpgFrontend asks once about any unsaved changes. (New in v2.2.6.)
- Quit: close GpgFrontend.
Save File, Save As…, Print and Close Tab are greyed out in a File Panel tab. To close a File Panel tab, click the X on the tab, or right-click its title and choose Close.
Edit Menu
Section titled “Edit Menu”- Undo and Redo: take back your last change, or bring it back.
- Zoom In and Zoom Out: make the text bigger or smaller.
- Copy, Cut, Paste and Select All: the usual text tools.
- Find: search the text. See Find Text.
- Quote and Remove spacing: see Quote Text and Remove Spacing.
- Settings: open the settings window. See Open Settings.
All of these except Settings are greyed out in a File Panel tab.
Open Settings
Section titled “Open Settings”Click Edit > Settings. On macOS, the window is called Preferences and is in the GpgFrontend menu. See Finding Your Settings.
See the Application Log
Section titled “See the Application Log”GpgFrontend keeps a log: a list of messages about what the program did. It can help you, or a helper, find out why something went wrong.
- Click Help > Show Application Log.
- A window called Application Logs opens. It lists the recent messages.
- To find a message, type a word in the Filter logs… box.
- Use the buttons at the bottom:
- Refresh: load new messages.
- Auto Refresh: tick it to load new messages every second.
- Copy: copy the messages to the clipboard.
- Save: save the messages to a text file.
- Clear View: empty the list in this window.
- Click Close when you are done.
Status Bar
Section titled “Status Bar”Along the bottom of the window, on the right, three small labels tell you what you are working with.
- Profile: the name of the profile this window is using. A profile is one set of settings and keys. Click the label to manage your profiles. See Profiles. In the Mac App Store Lite edition this label only shows the name. Clicking it does nothing.
- The engine label: the OpenPGP engine and its version, such as
GnuPG 2.4.3. Point at the label to see which key database you are in. - The mode label: Installed Mode or Portable Mode. See Portable Mode.
Click the engine label or the mode label to open the Status tab of the About window. It shows these details in full.
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”These keys work in the main window. On macOS, use Cmd where Windows and Linux use Ctrl, and Option where they use Alt.
| Action | Windows and Linux | macOS |
|---|---|---|
| New Text Editor | Ctrl+N or Ctrl+T | Cmd+N or Cmd+T |
| New File Panel | Ctrl+B | Cmd+B |
| Save File | Ctrl+S | Cmd+S |
| Save As | Ctrl+Shift+S | Cmd+Shift+S |
| Ctrl+P | Cmd+P | |
| Close Tab | Ctrl+W (Windows: also Ctrl+F4) | Cmd+W |
| Quit | Ctrl+Q (Linux only) | Cmd+Q |
| Last used tab | Ctrl+Tab | Cmd+} |
| Back through used tabs | Ctrl+Shift+Tab | Cmd+{ |
| Next tab in the row | Ctrl+Page Down | Cmd+Page Down |
| Previous tab in the row | Ctrl+Page Up | Cmd+Page Up |
| Show Open Tabs | Ctrl+Shift+A | Cmd+Shift+A |
| Undo | Ctrl+Z | Cmd+Z |
| Redo | Ctrl+Shift+Z (Windows: also Ctrl+Y) | Cmd+Shift+Z |
| Cut | Ctrl+X | Cmd+X |
| Copy | Ctrl+C | Cmd+C |
| Paste | Ctrl+V | Cmd+V |
| Select All | Ctrl+A | Cmd+A |
| Find | Ctrl+F | Cmd+F |
| Zoom In | Ctrl++ | Cmd++ |
| Zoom Out | Ctrl+- | Cmd+- |
| Settings | none (KDE desktop: Ctrl+Shift+,) | Cmd+, |
| Encrypt | Ctrl+E | Cmd+E |
| Encrypt & Sign | Ctrl+Shift+E | Cmd+Shift+E |
| Sym. Encrypt | Ctrl+Alt+E | Cmd+Option+E |
| Decrypt | Ctrl+D | Cmd+D |
| Decrypt & Verify | Ctrl+Shift+D | Cmd+Shift+D |
| Sign | Ctrl+Shift+I | Cmd+Shift+I |
| Verify | Ctrl+Shift+V | Cmd+Shift+V |
A shortcut does nothing while its menu item is greyed out. For example, Ctrl+W does not close a File Panel tab.
The find bar has its own keys. See Find Text. The Instant Messaging module adds two more shortcuts. See Instant Messaging.