PGPDecryption

Group

Preparsers

Function

This preparser is able to decrypt files, which are encoded with PGP or GnuPG.

Configuration file

None. Configuration is done directly with a string in field Config file.

Description


This preparser is able to decrypt files, which are encoded with PGP or GnuPG. It does not need a configuration file but relies on a parameter string, which has to be defined in the field normally used to set the path to a configuration file.

Note: The PGP encryption can be done using the postexecuter PGPEncryption.

The string for field Config file has the following structure. See examples below.

<path-to-own-private-key-ring>;<passphrase>

If the message is also signed, the path to the public key must also be specified. For this case, use the following parameter string.

<path-to-own-private-key-ring>;<passphrase>;<path-to-public-key-ring-from-partner>

Parameter Name

Description

path-to-own-private-key-ring

Path to the key ring file with the own private key.

passphrase

Password for the protection of the keyrings.

path-to-public-key-ring-from-partner

Path to the key ring file with the public key from the partner.

Examples


Decryption of a file not signed by the partner:


Struktur

<path-to-own-private-key-ring>;<passphrase>

Specifically

./conf/secret.asc;123456


Decryption of a file signed by the partner:


Struktur

<path-to-own-private-key-ring>;<passphrase>;<path-to-public-key-ring-from-partner>

Specifically

./conf/secret.asc;123456;./conf/public.asc

PGP Keystores and Lobster_data


See PGP Keyrings and Lobster_data.