Encrypt files with PGP

Description

The Encrypt Files With PGP action can be used to encrypt and sign files using the GnuPG package.

GnuPG package must be installed in the runtime environment and encryption keys added to the runtime user keystore for this to function.

Options

General Tab

Option Description

Workflow action name

The name of the workflow action. Note: This name has to be unique in a single workflow. A workflow action can be placed several times on the canvas, however it will be the same workflow action.

GPG location

The file path of the GnuPG executable (e.g. /usr/bin/gpg).

Use ASCII mode

Whether or not to use ASCII mode when encrypting.

Include subfolders

Whether or not to include subfolders.

Copy previous results to args

Action

Encrypt, Sign, Sign and Encrypt

File/Folder source

The file to encrypt, can be added to the Files/Folders list using Add.

File/Folder destination

The destination of the encrypted files.

Wildcard

A regex wildcard.

User ID

User ID of the key in the runtime user keystore

Files/Folders

The files to encrypt.

Destination File Tab

Option Description

Create destination folder

Whether or not to create the destination folder.

Destination is a file

Whether or not the destination is a file.

Do not keep folder structure

Whether or not to keep the folder structure.

Add date to filename

Adds the date to the file name.

Add time to filename

Adds the time to the file name.

Specify Date time format

Whether or not to specify the date time format.

Date time format

The format of the date time.

Add date before extension

Before or after extension.

If destination file exists

  • Do nothing

  • Overwrite the destination file

  • Create file with unique name

  • Delete source file

  • Move source file to folder

  • Fail

Destination folder

The destination folder.

Create folder

Whether or not to create the folder.

Add date

Adds the date.

Add time

Adds the time.

Specify format

Whether or not to specify the date time format.

Add date before extension

The format of the date time.

If file exists in destination folder

  • Do nothing

  • Overwrite the destination file

  • Create file with unique name

  • Delete source file

  • Move source file to folder

  • Fail

Destination File Tab

Option Description

Success condition

Which condition to validate for a successful run

  • Success when all works

  • Success when at least x files decrypted

  • Success when number of errors lesser than

Nr error lesser than

Success if errors lesser than.

Add files to result files name