Pocket-PGP logo

Pocket-PGP

Guide

A practical handbook for Pocket-PGP — with a fast onboarding path for Kleopatra / GnuPG users.

Start here If you already have a desktop keyring, use the dedicated import walkthrough. It’s the fastest way to get Pocket-PGP ready.

This page is the full handbook. For the shortest onboarding, use Kleopatra → Pocket-PGP.

Contents

Get started in 3 minutes Import your keys From Kleopatra (Windows) From terminal (gpg) Encrypt / Decrypt Encrypt + sign Key Administration Security model Troubleshooting

Get started in 3 minutes

Fast path Export your keys as an ASCII-armored .asc file on desktop → save it in iCloud Drive / OneDrive / Files → import in Pocket-PGP.

  1. Export keys from your desktop keyring (Kleopatra or gpg).
  2. Save the exported .asc file somewhere your iPhone can access (iCloud Drive / OneDrive / Files).
  3. On your iPhone, open KeysImport and select the .asc file.
  4. Test: paste an encrypted message and tap Decrypt (or encrypt to yourself).
Private keys are sensitive. Treat exported secret keys like cash. Avoid email. Prefer local transfer or a trusted cloud folder you control.
Pocket-PGP Key Administration screen

Tip: Use Keys → Import to import from Files / iCloud / OneDrive.

Import your keys

Pocket-PGP supports two import flows. Use the one that matches what you have:

Pocket-PGP main screen

Main screen Import = import the pasted ASCII-armored key block in the input.

Freemium note. The free version supports core crypto features, but the keyring is limited (e.g. up to 2 keys). Importing a full keyring from desktop may require the Pro unlock.

Supported formats:

  • ASCII-armored .asc exported from Kleopatra / GnuPG
  • Public keys and secret keys
  • Multiple keys in one file (bulk)

From Kleopatra (Windows)

If you use Kleopatra today, the goal is to export your public keys (for encrypt/verify) and your secret keys (for decrypt/sign) as ASCII-armored .asc.

Menu names can vary by Kleopatra version. Look for Export / Export Secret Keys and ensure the output is ASCII armored (.asc).

Recommended export set

Then move the file(s) to a place accessible from iPhone (OneDrive/iCloud/Files) and import via Keys → Import.

From terminal (gpg)

These commands work on macOS/Linux, and on Windows if GnuPG is installed. They create ASCII-armored files you can import in Pocket-PGP.

Export public keys

gpg --export --armor > public-keys.asc

Export secret keys (required for decrypt/sign)

gpg --export-secret-keys --armor > private-keys.asc

Optional: export a specific key only

Replace KEYID_OR_EMAIL with a fingerprint, key ID, or email.

gpg --export --armor KEYID_OR_EMAIL > one-public.asc
gpg --export-secret-keys --armor KEYID_OR_EMAIL > one-private.asc
Do not share secret keys. If you export private-keys.asc, store it securely and delete it after import if you don’t need it anymore.

Encrypt / Decrypt

Encrypt

  1. Paste plaintext in the main input.
  2. Choose one or more recipients (public keys) and tap Add.
  3. Tap Encrypt to generate an armored message.

Multi-recipient

You can add multiple recipients so more than one person can decrypt the same message.

Encrypt for me

If enabled in your build, Encrypt for me adds your own public key as an extra recipient so you can decrypt your own sent messages later.


Decrypt

  1. Paste the armored message into the main input.
  2. Tap Decrypt.
  3. Pocket-PGP automatically matches the required private key from your vault.

Encrypt + sign

Pocket-PGP has a dedicated Encrypt + sign action. To use it, you must first select which key should be treated as your signing key.

One-time setup: choose your signing key

  1. Open Keys.
  2. Select your private key.
  3. Tap Edit.
  4. Set Category to Signing certificate.
  5. Tap Save.
If you select a key without private key material (a stub/smartcard placeholder), signing will fail. Import a real software secret key or generate a keypair inside Pocket-PGP.
Edit key – set Category to Signing certificate

Edit key: set Category to Signing certificate.

Sign + verify

Key Administration

From Keys you can:

Security model

Pocket-PGP does not upload your private keys. When you import a secret key, it stays on your device.

Troubleshooting

Import succeeds but signing fails

You likely imported a stub key (common with smartcard/YubiKey setups). Pocket-PGP needs a software secret key to sign.

Decrypt fails

Locked / cannot open keyring

If Face ID/passcode policy changed, the iOS Keychain item can become unavailable. Use Reset vault (if shown) and re-import keys from your backup .asc.


Need help? Email support@pocket-pgp.com and include screenshots and a short description of what you tried.

Last updated: 2026-02-02