Skip to content

Limits

GpgFrontend sets a few limits: how large a file can be, how long a name can be, how far ahead a date can go, and how long the program waits for a server. You rarely meet them. When you do, this page tells you the exact value and where to read more. Where a row names Settings, it means the Settings window (on macOS, Preferences).

What Limit Where you see it More
Expiry date of a new key, a new subkey or a certification At least 1 day from now Generate Key, Add Subkey, signing a UID Generate Key Pair
New expiry date for an existing key or subkey At least 1 minute from now, at most 31 December 2099, 23:59 Modify Key Expiration Date and Modify Subkey Expiration Date View Key Pair Details
New expiry date for several keys at once Not in the past, at most 1 January 2106 Extend Expiry of Checked Keys Manage Your Keys
Expiry date of a key made on a smart card At least 2 years from today Card Key Generation window OpenPGP Smart Cards
Name in a user ID Required. Under 5 characters, GpgFrontend asks you to confirm Generate Key window, New UID Generate Key Pair
Name of a key group At least 5 characters New Key Group window Key Groups
Name of a key category At most 64 characters Making or renaming a category Key Categories
Name and description of a key generation profile Name at most 96 characters, description at most 200 Settings, Key Generation, Profiles tab Settings
Length of a random part in a made-up name ({token:N}) N from 4 to 32. {token} alone gives 8 Settings, Key Generation, Quick Generate tab Settings

A key generation profile is a saved set of key choices, such as the algorithm. It is not the same as an app profile.

What Limit Where you see it More
Key file you import At most 16 MB Importing from a file, or dropping files on a key list Import & Export Key Pair
File opened in the Text Editor At most 4 MB Opening a file as text The Main Window
Revocation certificate you import At most 1 MB Importing a revocation certificate in the Key Details window Key Revocation
Text the OpenPGP Structure Inspector reads At most 16 MB in the current tab The menu item is greyed out above that OpenPGP Structure Inspector

A key file that is too large shows “The target file is too large for a keyring.” A dropped file that is too large is skipped, and a message lists it. A revocation certificate that is too large shows “The target file is too large for a key revocation certificate.”

What Limit Where you see it More
A PIN or passphrase you choose for a KeyPackage, a profile file, or the program’s own key At least 8 characters The window where you choose it Application Secure Key
How long the rPGP passphrase window waits 0 to 3600 seconds. 0 means Never Settings, rPGP, Passphrase Prompt Settings
How long rPGP remembers an unused passphrase 1 to 1440 minutes (24 hours) Settings, rPGP, Password Cache Settings
How long rPGP remembers a passphrase in total 1 to 10080 minutes (7 days) Settings, rPGP, Password Cache Settings

A PIN or passphrase that is too short shows “The PIN must be at least 8 characters.” or “The passphrase must be at least 8 characters.”

What Limit Where you see it More
KeyPackage file you import At most 32 MB Import KeyPackage window KeyPackage
KeyPackage key file you import At most 1 MB Import KeyPackage window KeyPackage
Name of a new KeyPackage 1 to 200 characters Export KeyPackage window KeyPackage
Recent profiles listed The 8 most recent Profiles > Open Recent Profiles

A KeyPackage name also cannot start or end with a space, or end with a dot.

What Limit Where you see it More
Number of key databases At most 8. The built-in one counts when it is on Maximum Key Database Limit Reached Key Databases
Folder path of a GnuPG key database 86 bytes on Linux, 82 bytes on macOS. No limit on Windows A short link is made for you. If that fails: Key Database Path Too Long Key Databases

The folder path is counted in bytes, not characters. English letters and digits take one byte each. A letter with an accent, or a letter from another alphabet, takes two to four bytes. So a path with such letters reaches the limit sooner. rPGP key databases do not have this limit.

What Limit Where you see it More
Messages shown at a time Pages of 50 IMAP Controller message list Read Mail
Search results The newest 50 matches IMAP Controller search Read Mail
Message you open At most 64 MB IMAP Controller Read Mail
File you attach At most 48 MB for each file Mail Editor Write and Protect a Message
What Limit Where you see it More
Encrypted message inside an instant message At most 7,000 bytes IM Encrypt, IM Encrypt & Sign Instant Messaging
Finished instant message At most 16,384 characters Reading an instant message Instant Messaging

How much of your text fits depends on the keys you use. If it does not fit, GpgFrontend says “This message is too long to send as an instant message.” and leaves your text as it was. There is no such limit for a normal encrypted message.

GpgFrontend gives up when a server does not answer in time. Most of these times count from the server’s last sign of life, not from the start.

What Waits up to More
Testing a key server you add, or Test Selected 8 seconds Key Server Operations
Each answer when you search, publish or refresh keys on a key server 15 seconds Key Server Operations
Checking a proxy (Test Server Url Accessibility) 10 seconds Settings
Finding your mail servers when you add an account 4 seconds Mail Accounts and Sending
Reading mail: each answer from the IMAP server 30 seconds Read Mail from Your Server
Testing the sending (SMTP) connection 30 seconds Mail Accounts and Sending
Sending a message: each answer from the SMTP server 60 seconds Mail Accounts and Sending

IMAP is the way GpgFrontend reads mail from your mail server. SMTP is the way it sends mail.

What Limit More
Size of a module package you add At most 1 GB in all, and 512 MB for each file inside it, with at most 4,096 files Module Controller
Memory for a module’s script At most 8 MB for each module Write Your Own Module
Work for a module’s script At most 200,000 steps for each update or event it handles, and 2,000,000 while the script loads Write Your Own Module

A module is an optional part of GpgFrontend that adds a feature. You only need this part if you add modules from others or write your own.