기술 자료

  1. How To
  2. How To automate PGP decryption
만든 날짜
수정 날짜

기사 2728

How To automate PGP decryption

Goal

Automate the decryption of OpenPGP encrypted files.

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

Create certificate

If you already have setup a certificate with a private key, you can skip this step.

  1. Start Kleopatra
    Start Menu: All Programs - Gpg4win - Kleopatra
  2. Go to the menu: File - New Certificate...
  3. Select Create a personal OpenPGP key pair
  4. Fill in the Name and Email
  5. Click Next
  6. Click Create Key
  7. Enter a new passphrase
  8. Click Finish

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 Decrypt 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 Decrypt File plugin the list of plugins
  4. Right-click on the plugin, select Properties
  5. Set the Match Filename pattern. If you want to decrypt all the files, use *. If you only want to decrypt the files with the file extension .pgp, use *.pgp
  6. Set the Local User-ID
    The User-ID can be found in Kleopatra:
    1. Right-click a certificate in the My Certificates tab for which you have a private key 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.
  7. Set the Passphrase for your certificate/private key
  8. Optional: If you want to automatically remove the .pgp file extension after the file has been decrypted, enter .pgp into the Remove File Extension input box.
  9. Click OK to save the changes

Now all downloaded files which match the file pattern will get decrypted. 

키워드
pgp openpgp plugin

관련 기사
icon How To automate PGP encryption


What do you think about this topic? Send feedback!