How to install and setup

Before using PhotoPGP you will first need to install OpenKeychain

OpenKeychain is an implementation of OpenPGP for Android (see LINKS) - available from the Google Play Store, F-Droid, or GitHub (as open-source). PhotoPGP uses the openpgp-api service of OpenKeychain for secure key handling and cyptographic support.

You will also need to create your own PGP private key (if you don't already have one) for encryption/decryption and signature/verification.

 There are many ways to create your PGP private key.  You can, for example, create your PGP key using Windows or Linux, then copy that key to your phone.

If you have the PhotoPGP Full Edition, you will need to import public-keys into OpenKeychain for anyone you want to authorize to decrypt specific photos.


Import Keys into OpenKeychain

Two keys are available in the Public PhotoPGP Directory: 
  • PhotoPGP Public Key
  • Demo Private Key (password: "demo")
Click on the KEY Icon to import that key into OpenKeychain.

OpenKeychain: Import Public Key

This screen shows when OpenKeychain has imported the public key.

Click the X to return to PhotoPGP, or click the back button.

OpenKeychain: Import Private (Secret) Key

This screen shows when OpenKeychain has imported the private key.

The secure way to take pictures

Method 1 - use INDEX tab "ADD PHOTO" icon:

  1. Review what keys you have selected in the SETTINGS tab, because one of these keys will be required later to view the photograph.
  2.  Select the directory/folder where you want the encrypted images (set directory, new folder, click folder icon)
  3. Click the ADD PHOTO icon to start the standard camera interface - click the shutter button, then click check.
  4. The thumbnail image will appear, click on the thumbnail image (to decrypt) or select VIEWER tab.
  5. If the image is rotated, click the rotation icon to fix - this also fixes the thumbnail
Method 2 - use CAMERA tab
As an alternative to clicking the INDEX tab "ADD PHOTO" icon, you can instead go to the CAMERA tab to take secure pictures.  This method automatically rotates the image, provides a way to control the picture quality (compression), and captures additional meta data (orientation, keys, etc.)

Method 1 produces encrypted jpg files - without compression.
Method 2 produces encrypted compressed jpeg (or png) files, and meta files.