CH-J Toolsserver management over SSH
Menu
All guides and articles →

How to use OpenPGP on iPhone and Android

A practical guide to mobile OpenPGP: public and private keys, fingerprint verification, file signing, compatibility, and secure backup.

App screenshots

How to use OpenPGP on iPhone and Android
In-app OpenPGP identity generator. Pixel 10. Actual development build interface from 11/29/2026, English UI and test data. This is not proof of a live connection or compliance with release 0.0.4.

First, determine the operation and available application

OpenPGP is a format and set of rules for working with keys, signatures, and encrypted messages. A phone can be a full participant in this system, but a specific application may not implement all of its parts. For example, to verify a downloaded package, you don't need your own private key; you need a trusted public key of the publisher and a corresponding signature.

CH-J Tools Mobile in the 0.0.4 series offers in the Keychain section the generation and import of supported SSH and OpenPGP identities, file signing and verification, and working with the revocation of your own OpenPGP key. This article is based on these features. Do not assume from the word OpenPGP also a complete email client or a general user interface for encrypting and decrypting arbitrary messages.

On iPhone and iPad, verify the actual available build in TestFlight; the series designation in the source code alone does not guarantee the availability of a particular beta. On Android, install a verified package from an official source. Before transferring top secrets, perform the entire procedure with a test key and a harmless document.

You can share the public key, the private key needs protection

The public part is used, among other things, to verify the signature and, depending on the type of key, to encrypt for the holder. The private part allows you to create signatures or decrypt the relevant data. Publishing the public key is a common work step. Publishing the private key is a different situation, although its export is additionally protected by a passphrase.

The name and email inside the key are not proof of identity. An attacker can create their own key with the same text. Therefore, when you first introduce an important contact, compare the entire fingerprint via a trusted channel, such as in person or through already verified communication. Simply finding the address on the keyserver does not replace this step.

To verify third-party files, import the public key. The publisher's private key does not belong on your phone, and legitimate verification does not require it. If the instructions for verifying a third-party installation package suggest downloading the author's private key, stop and reassess the credibility of the source and the purpose of such a procedure.

Create a Vault and choose how you want to work with your identity

In CH-J Tools Mobile, first set up a local Vault with a long, unique master password. The master password protects the application's storage; it is not the same as the passphrase of any exported key. Biometric unlocking can make everyday use easier, but it is not a substitute for a recovery plan or knowledge of the master password.

You can create a new supported OpenPGP identity for your self-signature or import an existing one. A new, separate mobile identity makes it easier to separate your phone from your master long-term key. Importing the same private key to other devices, on the other hand, increases the number of places where the same identity can be compromised. Make your decision based on the value of the data you are signing.

Read the algorithm and format variant before confirming generation. A more modern option may not work in an older counterparty application. Demonstrate operational compatibility by testing the signature and verifying it in both programs used. The result of importing one public key is not yet proof of support for all signature and encryption methods.

Import and keyserver: finding the key is not human verification

When importing, select the correct public or private file via the system dialog. A text block with the BEGIN PGP PUBLIC KEY BLOCK header is a different object than a message or separate signature. The asc extension only indicates ASCII Armor text; it does not itself determine the purpose of the content. Verify what the application actually recognized.

After importing, check the entire fingerprint, declared usage, expiration, and known revocation. A successful load confirms the readability of the structure, not the trustworthiness of the owner. If the fingerprint of an expected contact has changed, do not circumvent the change by renaming the item. First, determine whether it was a properly reported rotation or forgery.

A keyserver helps distribute public data and key updates. The keys.openpgp.org service separates technical data from the disclosure of verified email identities, but even mailbox verification does not prove all the characteristics of a person or organization. Uploading a public key is a conscious disclosure of metadata; do not send the private part to a keyserver.

File signing: choose the correct bytes and identity

In the keys section, select a custom identity with a private part and a supported signature. Select a file signature, select the final version of the document, and enter a key passphrase as required. Save the resulting separate signature next to the signed file so that the recipient can clearly identify which two items belong together.

In the verified series, OpenPGP offers a signature.asc output. You can name the file more meaningfully after the document when you submit it. Renaming the file itself usually does not change the signed bytes, but converting the text encoding, line endings, or exporting the document may create different content. Do not sign one version and send another.

The mobile signature selection in this series limits the input data to 64 MiB. Therefore, a large archive may not pass, even though its download works. Do not consider this limit as a feature of OpenPGP as a standard. For larger input, use an appropriate tool with a proven workflow and sufficient resources.

Signature verification and the meaning of the result

Prepare the original document, the separate signature, and the signer's verified public key. Select the appropriate identity and verification in Keychain. The application will request a data file and signature; in the described series, the data limit is 64 MiB and the signature input is 1 MiB. Do not confuse a signature with a list of checksums or an encrypted document.

A positive cryptographic result means that the signature matches the content being verified and the key within a supported method. To make this a credible claim about the author, you need to have the public key properly implemented and assess its validity. A green report after importing the attacker's key from the attacker's site alone is not helpful.

If it fails, keep the input and distinguish between an incorrect file, a different key, an unsupported algorithm, an unreadable format, and a validity issue. Do not edit the file in a text editor before verifying. Resaving can change its bytes and make it difficult to determine whether the error occurred during transmission, due to a version swap, or locally.

Backup, recall, and lost phone

Back up the private key in a controlled manner to an encrypted location to which you have independent restore access. The export file must not remain unprotected in a common shared folder or communicator history. After the backup, verify the restore by testing it in a safe location. The mere existence of the file without a known passphrase or the correct format is not enough.

Before an incident occurs, determine how you will publicize the revocation and replacement of your key. The in-app revocation feature requires the corresponding private portion and optional passphrase to be available. If you lose a single copy without a recovery tool in place, you may not be able to perform the intended action. So don't plan until after you lose your phone.

If you suspect a compromise, address the revocation and inform partners who trust your key. Deleting the application on the original phone will not invalidate the previously leaked copy of the private key. At the same time, distinguish historical signatures from new ones: time data, evidence of its existence, and the circumstances of the incident may be important for assessing an older document.

Inspection procedure before normal use

Try verifying your own test signature in another trusted program. Then modify a copy of the document and confirm that the modified data fails verification. This negative test can help detect input confusion or message misreading. However, do not recklessly make the test key your production identity.

  • You know the difference between a public key, a private key, data, and a signature.
  • The contact's fingerprint was verified independently of the key download itself.
  • The signed document is identical to the submitted version.
  • Compatibility has been tested with the actual recipient program.
  • There is a usable backup and plan for loss or compromise.

Mobile OpenPGP, thus implemented, is useful for targeted signing and verification even outside the office. However, its trustworthiness depends on the correct identity, precise file selection, and protection of the private part. Neither the format nor the application logo itself can perform these crucial steps for the user.

Frequently asked questions

Do I need my own private key to verify the signature?

No. You need the corresponding signer's public key, the original data, and the signature.

Is finding an email on a keyserver proof of identity?

No. Verify the fingerprint of an important contact through a trusted, independent channel.

Can every OpenPGP client also encrypt mail?

No. Format support does not mean implementation of all operations or email integration.

Can a backup be replaced with biometric unlocking?

No. Biometrics facilitates local access, but it does not recover a lost key or forgotten master password.

Detailed documentation

IETF: OpenPGP standard RFC 9580 →

keys.openpgp.org: publishing keys and identities →

CH-J Tools Mobile: published information →

Biometric unlock and security →

All tutorials by category →