Encrypt files with PGP
Overview
The Encrypt Files With PGP Jon Entry can be used to encrypt and sign files using the GnuPG package.
The following pre-requisites must be met:
GnuPG package must be installed in the runtime environment
Encryption keys must be added to the runtime user keystore
Job Entry Options
Job Entry Name: Name of the job entry.
General Tab
Option | Description |
---|---|
GPG location | The file path of the GnuPG executable (e.g., /usr/bin/gpg). |
Use ASCII mode | Check to use ASCII mode when encrypting |
Include subfolders | Check to include (encrypt) subfolders |
Action | Select one of Encrypt, Sign, and Sign and Encrypt |
File/Folder source | The file or folder to encrypt can be added to the Files/Folders list using Add. Select the file or folder and then click Add to add the source to the list of Files/Folders to be encrypted. |
File/Folder destination | Location where the encrypted files will be stored |
Wildcard | A Regular Expression to determine which files will be encrypted. The file name should match against the regular expression. |
User ID | User ID of the key in the user keystore |
Files/Folders | The list of files/folders to encrypt. This is populated above and can be edited here |
Destination Tab
Option | Description |
---|---|
Create destination folder | Select to create the destination folder specified in “General” tab |
Destination is a file | Indicate whether destination is a file |
Add date to filename | Add date to filename. Default is after the extension. See option below. |
Add time to filename | Add time to filename. Default is after the extension. See option below. |
Specify Date time format | Specify the format to use when adding date / time to filename |
Add date before extension | Add date / time to filename before the extension |
If destination file exists | Behavior to follow if a file with the same name already exists in the destination |
Advanced Tab
Option | Description |
---|---|
Success condition | Define when the Job Entry execution is considered a success
|
Nr errors less than | Specify the parameters for “Success when at least x files decrypted” and “Success when number of errors lesser than” options above |