Knowledge Base
Created
Modified
Modified
How To automate PGP encryption
Goal
Automatically encrypt and optionally sign all files before uploading them.
Howto
Prerequisite
- Purchase a license for SmartFTP Enterprise Edition
- Purchase the additional OpenPGP Addon in the Customer Area or directly through the prompt in the application.
- Download and install Gpg4Win
Import the recipient's public key
- Start Kleopatra
Start Menu: All Programs - Gpg4win - Kleopatra - Click on Import Certificates
- Select the PGP public key file
- The certificate will be added to the Other Certificates list
Enable Plugin in Global Settings
- Start SmartFTP
- Go to the menu: File - Settings
- The settings dialog opens
- Go to the Transfer - Queue - Plugins dialog
- Select and enable the OpenPGP Encrypt File plugin the list of plugins
- Click OK to save the changes
Enable Plugin in Favorite Settings
- Go to the Favorite Properties
- Go to the Transfer - Queue - Plugins dialog
- Select and enable the OpenPGP Encrypt File plugin the list of plugins
- Right-click on the plugin, select Properties
- Set the Recipient User-ID
The User-ID can be found in Kleopatra:- Right-click the certificate of the recipient (see Other Certificates) and select Certificate Details from the context menu
- 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.
- Optional: If you also want to sign the file, check [x] Sign file and enter the User-ID of the signer.
- Click OK to save the changes
Now all files uploaded to the server are automatically encrypted with the recipient's public key.
Related Articles
PGP
How To automate PGP decryption
What do you think about this topic? Send feedback!