Reading from PGP-protected Source Files

In order to read and decrypt a PGP-protected source file, your organization's public key must be used to encrypt the source file.

Additionally, to decrypt a file which contains a digital signature to verify the authenticity of the data's origin and integrity, you must have the external (third-party) key from the owner of the source file.

As needed for your situation, from the Data Services Agent Configuration program, make sure that the following prerequisites are met:
Prerequisites to decrypt a source file
 

Prerequisite

More information

A PGP key pair exists for your organization.

Generating a PGP Key Pair

The organization key pair is imported to the system hosting your agent.

If the key pair was generated on the system hosting your agent, you do not need to import it.

If the key pair was generated on a different system in your organization, then you must move it to the system that hosts your agent.

Moving your Organization Key Pair

The owner of the source file has your public key.

Export your public key and send it to the owner of the source file.

Exporting your Public Key

The owner of the source file has encrypted the file using your public key.

 
Additionally, if the source file contains a digital signature, make sure you have met the following prerequisites:
Prerequisites to verify a digital signature
 

Prerequisite

More information

You have received the external (third-party) public key from the owner of the source file.

 

You have imported the external (third-party) public key to the system which hosts your agent.

Importing an External Public Key

First use the Data Services Agent Configuration program to meet the prerequisites. Then, use the SAP Cloud Integration for data services user interface to create and run the task to read and decrypt the source file.

  1. In the SAP Cloud Integration for data services user interface, create a task and data flow to read the encrypted source data.
  2. In the data flow, select the transform that reads the source data.
  3. In the Transform Details do the following:
    1. From the File Options tab, in the Selected input information, in the PGP Protected field, select yes.
    2. If the file contains a digital signature, in the PGP Signature field, select yes.

Validate and run the task as usual.