GnuPG
The standard engine. Recommended for daily use. Keys are kept in a GnuPG
keyring, and the gpg command line can see them.
A key database is a folder where GpgFrontend keeps your keys. Every key you make or import goes into one key database.
Most people need only one. GpgFrontend gives you one from the start, called the Built-in Key Database. You can also add more. Each one is fully separate from the others.
Why add more than one? A few common reasons:
If one key database is enough for you, you can skip this page.
Click Edit > Settings. On macOS, open the GpgFrontend menu and choose Preferences.
In the list on the left, under Keys & Engines, click Key Databases.
The page has two parts:

Nothing you change on this page is saved until you click OK. If you click Cancel, every change you made in the settings window is thrown away.
The Built-in Key Database is the key database GpgFrontend gives you. It is always listed first. In menus and window titles it is called Built-in.
Where it lives depends on your profile:
gpg command line uses.The box shows three things:
Open the Key Databases settings page.
In the Built-in Key Database box, pick an engine from Key engine:.
Click OK.
This choice applies only to the built-in database. Other key databases always open with their own engine.
The title of the box has a checkbox. Clear it to stop using the built-in database, then click OK. Tick it again to bring it back.
You can only turn it off when you have at least one other key database.
If your computer’s OpenPGP engine does not report a key database, the box is greyed out and says so: “The OpenPGP engine on this computer does not report a key database, so there is no built-in one to use.”
One key database is the default. GpgFrontend uses it when an operation does not pick a key database on its own. It is also the one the main window shows when it starts.
At first, the built-in database is the default. To make another one the default:
Open the Key Databases settings page.
Choose one:
Click OK.
The default database shows Default in the Role column, or in bold in the Built-in Key Database box.
If you remove the default database, or turn the built-in one off, the choice goes away. GpgFrontend then falls back to the built-in database, or to the first database in the list if the built-in one is off.
You can add a key database in two places. Choose by where the keys should live.
| Tab | Where the folder is | Goes with your profile? |
|---|---|---|
| In Profile | Inside your profile. GpgFrontend picks the folder. | Yes. A profile package carries it. |
| Local Only | Any folder you choose. | No. It stays on this computer. |
If you are not sure, use In Profile.
Open the Key Databases settings page and click the In Profile tab.
Click Add Key Database. The Add Key Database window opens.
Type a Name, such as Work or Personal. GpgFrontend suggests a name
like Key DB 1 that you can keep or change.
If an Engine choice is shown, pick GnuPG or rPGP. If you are not sure, keep GnuPG. You cannot change the engine later.
Click OK in the window, then click OK in the settings window.
You do not choose a folder. GpgFrontend makes one named after the database,
inside your profile. The Folder line shows where, for example
@profile/dbs/Work. Here @profile means “your profile folder”.
If a removed database with the same name is still in the Recycle Bin, you see Key Database Folder Already Exists. Restore that one, delete it for good, or pick another name.
Use this to point at a folder you already have, such as an existing GnuPG home directory, or a folder on another drive.
Open the Key Databases settings page and click the Local Only tab.
Click Add Key Database On This Computer. A window with the same name opens.
Type a Name. GpgFrontend suggests a name like External Key DB 1.
Click Choose Folder… and pick the folder. It must be a folder that already exists and that you can read.
If you use GpgFrontend from a USB drive, tick Convert to Relative Path. See Portable Mode.
If an Engine choice is shown, pick GnuPG or rPGP. You cannot change it later.
Click OK in the window, then click OK in the settings window.
A Local Only database never goes into a profile package. It is also always opened after the databases inside your profile.
- and _.Work and work clash.DEFAULT is kept for the built-in database. You cannot use it.To change the order of the list, drag a database up or down on the In Profile or Local Only tab. The order is only the order the databases are listed and opened in. It does not choose the default.
Right-click a database on one of those tabs. The menu has:
On the In Profile tab, right-click the database and choose Edit. The Rename Key Database window opens.
Type the new Name and click OK.
Click OK in the settings window.
The folder is named after the database, so GpgFrontend renames the folder too. This happens when you click OK in the settings window, not before.
If a folder with the new name is already there, GpgFrontend stops and shows Key Database Folder Already Exists. Pick another name. If that folder is in the Recycle Bin, you can also restore it or delete it for good first. See Restore or Delete a Removed Database.
On the Local Only tab, right-click the database and choose Edit. The Edit Key Database window opens. You can change the Name, pick another folder with Choose Folder…, and tick Convert to Relative Path.
The Engine is shown but greyed out. A database keeps the engine it was made with.
What happens depends on the tab the database is on.
Right-click the database:
A window with the same name asks you to confirm. Click Yes.
Click OK in the settings window.
Nothing is deleted:
GpgFrontend needs at least one key database, so you cannot remove the last one.
Open the Recycle Bin tab. It shows each removed database with its
Name, Engine, Size and Folder. The size may show … for a
moment while GpgFrontend measures it.

A database you just removed shows up here after you click OK in the settings window.
On the Recycle Bin tab, click the database.
Click Restore. The database moves to the In Profile tab.
Click OK in the settings window.
You may see one of these messages:
On the Recycle Bin tab, click the database.
Click Delete Permanently.
A warning asks if you want to delete the database and everything in it. Click Delete Permanently again.
The status bar then says Key database folder deleted.
If the folder could not be deleted, or only partly, you see Folder Not Deleted with the reason. For example, the folder may still be in use. Wait a moment and try again.
To look at a removed database’s files first, right-click it and choose Open or Copy Folder Path.
GpgFrontend opens your key databases again with the new settings. It does not restart.
While it works, a small window called Applying Key Database Changes is shown, and you cannot use the program. This can take a few seconds, mostly with GnuPG on Windows.
The status bar at the bottom of the main window then says how it went:
Sometimes a key database you changed or removed is still busy, for example with a large file being encrypted. Then GpgFrontend asks first, in a window called Operations Still Running. It lists each busy database and how many operations it is running.
Some windows belong to one key database, such as a Key Details window. If you remove that database, or it can no longer be opened, the window is greyed out. Its title gets “(key database no longer available)” at the end. Close it.
If the main window was showing a database that is gone, it switches back to the default one. The status bar says: “The key database “…” is no longer available; showing the default one.”
If you started an action just as the databases changed, you may see Key Databases Changed. Nothing was done. Check the selected keys and try again.
You do not need the settings window to change which keys you see.
In the main window, find the key database button above the key list. It shows the name of the database you are in.
Click it. A menu lists all your key databases. Each entry shows the name, the engine, and the word Default for the default one.
Click the database you want. The key list now shows only its keys.

Hold the mouse over the button or a menu entry to see more about that database: whether it is the default, where it is kept (for example “Kept inside your profile” or “On this computer only”), its engine, and its folder.
From then on, everything you do in the main window (generate, import, export, encrypt, sign) uses the keys in that database.
The database name also appears in other places, so you always know where you are:
Key Details (Work);Each key database uses exactly one engine:
GnuPG
The standard engine. Recommended for daily use. Keys are kept in a GnuPG
keyring, and the gpg command line can see them.
rPGP
A newer engine, built into GpgFrontend. Useful for newer OpenPGP features,
such as OpenPGP v6 or some post-quantum algorithms. Keys are kept in a file
named gf_keydb.sqlite.
How the engine is chosen:
The Engine choice only shows up when your copy of GpgFrontend has both engines.
For where each engine keeps its keys, and what that means for safety and backups, see How Keys Are Stored.
On Linux and macOS, GnuPG cannot work in a folder whose path is very long. When that happens, GpgFrontend quietly makes a short link to the folder in a temporary place and gives GnuPG that link instead. Your keys stay where they are. You do not need to do anything.
Only if that short link cannot be made do you see Key Database Path Too Long. Then pick a folder with a shorter path. This does not affect rPGP databases.
When you save your profile to a .gfp file to move it to
another computer:
Your default choice travels too, if the database it names travels or is the built-in one. If not, the other computer picks its own default.
If you want keys from a database that does not travel, send them separately with a KeyPackage.
A sandbox is a closed-off space the system gives the app. Sandboxed builds can only keep key databases inside the profile. So in the Flatpak and Mac App Store builds:
The Recycle Bin tab works the same as in other builds.
Back up the whole folder of each key database. A backup holds your private keys, so keep it in a safe, encrypted place. For what is in the folder with each engine, see How Keys Are Stored.
To find a folder, right-click the database and choose Open or Copy Folder Path. For the built-in database, use Copy next to Location:.
Personal, Work, Project Alpha,
rPGP Test.