Class name | com.ebd.hub.datawizard.parser.PGPDecryption |
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.
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 | 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:
Structure | <path-to-own-private-key-ring>;<passphrase> |
Specifically | ./conf/secret.asc;123456 |
Decryption of a file signed by the partner:
Structure | <path-to-own-private-key-ring>;<passphrase>;<path-to-public-key-ring-from-partner> |
Specifically | ./conf/secret.asc;123456;./conf/public.asc |
PGP keystores/keyrings
See section PGP keyrings.