Profiles
A profile is one complete GpgFrontend setup: its own keys, its own settings, and its own saved state. Think of it like a separate user account inside the program.
You already have one, and it works. If one setup is enough for you, you can skip this page.
Why You Might Want a Second One
Section titled “Why You Might Want a Second One”- Keep work and personal apart. Two profiles, two sets of keys, no chance of sending something with the wrong one.
- Carry your setup with you. Save a profile to a file, take it to another computer, and pick up where you left off.
- Try something out. Make a spare profile to test a key or a setting, then delete it when you are done.
The Kinds of Profile
Section titled “The Kinds of Profile”The program shows a short type next to each profile:
- Default: the one you get when you install GpgFrontend normally.
- Portable: the one a portable copy uses. See Portable Mode.
- Local: one you made yourself on this computer.
- From a package: a profile you opened straight from a file. It is not kept on this computer.
Where Your Profile Lives
Section titled “Where Your Profile Lives”The Default profile is stored here:
| System | Folder |
|---|---|
| Windows | C:\Users\<you>\AppData\Local\BKTUS\GpgFrontend\ |
| macOS | ~/Library/Application Support/BKTUS/GpgFrontend/ |
| Linux | ~/.local/share/BKTUS/GpgFrontend/ |
Profiles you make yourself live in a profiles folder inside that one. You do
not have to go looking for them: Manage Profiles has an Open Folder
button that takes you straight there.
The Profiles Menu
Section titled “The Profiles Menu”Everything to do with profiles sits in the Profiles menu in the menu bar:
- Manage Profiles: see every profile on this computer, and open or remove one.
- Open Recent: jump back to a profile you used recently.
- New Profile: start a fresh, empty setup on this computer.
- Open Profile File: work inside a profile file without copying it onto this computer.
- Import Profile File: copy a profile file onto this computer for good.
- Export This Profile: save the profile you are using now to a file.
You can also see which profile you are in at any time. Look at the bottom right corner of the window: it shows the profile name, and clicking it opens Manage Profiles.
Make a New Profile
Section titled “Make a New Profile”-
Open Profiles in the menu bar, then choose New Profile.
-
Give it a name, such as
Work. -
Answer one question: should this profile hold its own keys, or share the keys you already use?
- Start with an empty keyring: the profile keeps its own keys, separate from everything else. It starts out with none, so you import or make some inside it. This is the only kind you can save to a file and carry away.
- Use the system GnuPG keyring: the profile uses the same keys you already have. Handy, but those keys are shared with the rest of your computer, so they are not really separate and they cannot travel inside a profile file.
-
Click OK. The program offers to open the new profile straight away.
Opening a profile always opens a second window. The window you were in stays exactly as it was.
Save a Profile to a File
Section titled “Save a Profile to a File”A profile file has the ending .gfp. It holds the whole setup, keys included,
in one file you can copy anywhere.
-
Open the profile you want to save.
-
Choose Profiles, then Export This Profile.
-
Click Choose and pick where to put the file.
-
Decide whether to include your workspace files. This is off to start with.
-
Leave Protect with a passphrase turned on and type a passphrase twice.
-
Click Export.
What Goes In, and What Does Not
Section titled “What Goes In, and What Does Not”The file carries your settings, your saved state, your key groups and categories, and any keys kept inside the profile.
It does not carry logs, modules, or keys kept outside the profile. That last one is the surprising one.
Keys live outside the profile when your key database points at a folder elsewhere, such as your system GnuPG home directory. That happens when you chose Manual mode for the database, or when you told the profile to use the keys you already had.
That kind of database is still listed in the file, but it arrives empty on the other computer, and shows as Inactive until you point it at a folder there.
Open a Profile File on Another Computer
Section titled “Open a Profile File on Another Computer”You have two ways to do this, and they behave differently.
Copy it onto the computer
Section titled “Copy it onto the computer”Choose Profiles, then Import Profile File. Pick the .gfp file, type
its passphrase, and give the profile a name. It is now a normal profile on
this computer, and the file is not needed any more.
Work straight out of the file
Section titled “Work straight out of the file”Choose Profiles, then Open Profile File. Or just double-click the
.gfp file.
Nothing is added to this computer. When you close the window, the program asks Save Changes? and writes your changes back into the same file. This is the one to use on a computer you do not want to leave anything on.
Delete a Profile
Section titled “Delete a Profile”Choose Profiles, then Manage Profiles. Pick the profile and click Delete.
The program asks twice, because there is no undo. Its keys, settings and saved state are removed from this computer for good. Export it to a file first if you might want it back.
You cannot delete the profile you are currently using, or one that is open in another window.
For Advanced Users
Section titled “For Advanced Users”You can pick a profile when starting the program from a terminal:
# open a profile you made, using its folder namegpgfrontend --profile a3f19c
# open a profile filegpgfrontend ~/Documents/work.gfp--profile needs the profile’s folder name, not the name you gave it.
You can see the folder name in Manage Profiles.
If you name a profile that does not exist, the program stops and says so. It does not create one for you.