Guide
Decrypting Messages
Decrypt PGP-encrypted emails, files, and text with your private key.
← Back to the GuideBefore you start
You’ll need:
- Your private key imported into iPGMail (Import keys →)
- Your passphrase for that key
Decrypt an email attachment
When someone sends you an encrypted .pgp, .gpg, or .asc file:
- Open the email in your Mail app
- Tap the encrypted attachment
- Tap the Share button (square with upward arrow)
- Select iPGMail from the list
- Enter your passphrase when prompted
- View the decrypted message
Decrypt inline PGP text
Some emails contain encrypted text directly in the message body instead of an attachment. It looks like this:
-----BEGIN PGP MESSAGE----- jA0ECQMCvK3V8P7k... -----END PGP MESSAGE-----
To decrypt:
- In your email app, select and copy the entire block (from
-----BEGINthrough-----END-----) - Open iPGMail
- Go to the Decode tab
- Tap Import — iPGMail reads from your clipboard automatically
- Enter your passphrase
Decrypt a file
For encrypted files from the Files app, Dropbox, or other sources:
- Locate the
.pgpor.gpgfile - Tap and hold, then select Share
- Choose iPGMail
- Enter your passphrase
- The decrypted file is saved to iPGMail’s documents
Common issues
“No matching private key”The message was encrypted to a different key. Check which key was used and import it.
“Bad passphrase”Re-enter carefully. Passphrases are case-sensitive.
“Invalid PGP data”The file may be corrupted or not actually PGP-encrypted.