cancel
Showing results for 
Search instead for 
Did you mean: 

PGP Decryption Error (File is no valid PGP Message)

Former Member
0 Kudos

Hi, I'm encountering an error while decrypting a pgp file.  Error is MP: exception caught with cause com.sap.aii.af.lib.mp.module.ModuleException: File is no valid PGP Message, could not apply decryption.

I have tested decrypting the file using an external tool and was able to decrypt it but not in PI.  Below is my configs in sender commChannel (Note: no file content conversion is involved).  Any ideas on how to resolve this? Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Could you please verify with your partner whether they are sending PGP encrypted messages.

Can you also please try using the following order in the module configuration:
keyRootPath
ownPrivateKey
pwdOwnPrivateKey
partnerPublicKey

If there are still errors try running the XPI Inspector tool using Example 50 and provide information on the detailed error.

Kind regards,

Sarah

Former Member
0 Kudos

Hi Sarah, thanks for the response. I tried arranging the sequence as you've suggested but once saved, it will re-arrange to the old order as below:

keyRootPath

ownPrivateKey

partnerPublicKey

pwdOwnPrivateKey


With regards to running XPI Inspector Tool, i will install it first.


For the meantime, are there other suggestions?


Thank you.

Former Member
0 Kudos

Hi Sarah, i just tried again and i have removed partnerPublicKey since the message is only encrypted but not signed. And it worked!

Answers (1)

Answers (1)

former_member182455
Active Contributor
0 Kudos

Hi,

Kindly try this.

Regards

srinivas