cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO 7.5 - PGP Decryption Issue

0 Kudos

Hi,

I am trying to decrypt a PGP encrypted file in the STFP sender channel. To do this I have set up PGPDecryption module on the SFTP sender channel as shown below. However I am getting the error "FIle is no valid PGP Message. Decryption failed".

I have tried resolving this by adding the partnerPublicKey param and without, there is no change in the error. I have also used a 3rd party to decrypt the message, and it worked with the same private key. But on the PO channel it's not working. I have used ignoreNonPGPMessage{true} param that succeeded in consuming the message, but didn't decrypt it.

Can you please help me out with resolving this issue?

Error Screenshot


Module config

View Entire Topic
binod8
Active Participant
0 Kudos

Hi Saibal,

I do not see any issue with your configuration.

Points that you may recheck:

1. The message has been encrypted with your correct Public key.

2. You are using correct Private key to decrypt the payload.

Thanks& Regards,

Binod

0 Kudos

Thanks Binod for the answer. I have checked both the public and private key. I have shared the public key to the 3rd party system for encryption and then used a 3rd party tool to decrypt the encrypted file with the private key I have and it worked.

The same private key is made available to the Po channel as well. However the decryption is not working on the channel.

I had also generated a new key pair and that still didn't work.

Happy to try anything else that might help me resolve this...