SAP Knowledge Base Article - Public

2657763 - Encrypting and Decrypting PGP file via Integration Center

Symptom

You are using Integration Center to generate and export PGP encrypted file to an SFTP server.

Then Decrypting the PGP file which was placed on the SFTP via SuccessFactors Integration Center.

Environment

  • successfactors
  • Integration Center

Reproducing the Issue

Steps

  1. Login to successfactors Instance
  2. Admin Center
  3. Integration Center
  4. Fulfilling the fields from Destination Settings tab in an Integration

Below is a scenario from an Integration in Integration Center using the PGP Encryption:

PGP on IC 1.jpg

 

Below is the file generated and exported to a SFTP by our Test Integration:

PGP on IC 2.jpg

Cause

Depending on the PGP tool, during the Decryption process, if you don´t Rename the file name which will be saved, the file name can be set by default as 'pgp' or another different name.

Resolution

To Open and Decrypt the file generated in the SFTP, it´s necessary to have any PGP Software of your choice to do that. Below you can find a simulation of the Decryption of the file of the sample file TestPGP20180613.txt.pgp we "generated" on the SFTP":

Steps:

  1. Use any PGP Software;
  2. Open the Encrypted file you exported to the SFTP;
  3. Save it with the name of your choice.

PGP on IC 3.jpg

See Also

Below some useful information:

Pretty Good Privacy (PGP) is an encryption program that provides cryptographic privacy and authentication for data communication. PGP is used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications.

Frequently asked questions (FAQ):

Q: Is there any specific PGP Tool which I can use? A: You can use any PGP tool of your choice.

Q: When I decrypt a file, the file name is coming as 'pgp'. Why? A: It happens because if don´t rename the name of the file which will be saved, it will save 'pgp' as default.

Q: I am not able to Decrypt the PGP file exported to SFTP. Where else I can find help on the decrypt process? A: You can try to find some notes on the Help of the Tool you are using as SAP does not owns the PGP decryption process.

To see another sample, kindly check also one blog post:

Keywords

PGP Encryption Keys; PGP Decryption; File; SFTP; Manage PGP; PGP File Signing Keys; KeyGenerator; Integration center, IC , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , Integrations , LOD-SF-INT-INC-FWK , Integration Center UI Framework , How To

Product

SAP SuccessFactors HCM suite all versions