Knowledge Base

Home > How To > How To automate PGP encryption

Created
Modified

Print Article

Article 2657

How To automate PGP encryption

Goal

Automatically encrypt and optionally sign all files before uploading them.

Howto

Prerequisite

  1. Purchase a license for SmartFTP Enterprise Edition
  2. Purchase the additional OpenPGP Addon in the Customer Area or directly through the prompt in the application.
  3. Download and install Gpg4Win

Import the recipient's public key

  1. Start Kleopatra
    Start Menu: All Programs - Gpg4win - Kleopatra
  2. Click on Import Certificates
  3. Select the PGP public key file
  4. The certificate will be added to the Other Certificates list

Enable Plugin in Global Settings

  1. Start SmartFTP
  2. Go to the menu: File - Settings
  3. The settings dialog opens
  4. Go to the Transfer - Queue - Plugins dialog
  5. Select and enable the OpenPGP Encrypt File plugin the list of plugins
  6. Click OK to save the changes

Enable Plugin in Favorite Settings

  1. Go to the Favorite Properties
  2. Go to the Transfer - Queue - Plugins dialog
  3. Select and enable the OpenPGP Encrypt File plugin the list of plugins
  4. Right-click on the plugin, select Properties
  5. Set the Recipient User-ID
    The User-ID can be found in Kleopatra:
    1. Right-click the certificate of the recipient (see Other Certificates) and select Certificate Details from the context menu
    2. From the Overview window you can use the Email, Key-ID, Fingerprint or the complete User-ID for the User-ID in the SmartFTP settings.
  6. Optional: If you also want to sign the file, check [x] Sign file and enter the User-ID of the signer.
  7. Click OK to save the changes

Now all files uploaded to the server are automatically encrypted with the recipient's public key.

Keywords
pgp,openpgp

Related Articles
icon PGP
icon How To automate PGP decryption


What do you think about this topic? Send feedback!