on 12-20-2018 6:26 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
User | Count |
---|---|
72 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.