cancel
Showing results for 
Search instead for 
Did you mean: 

PGP module error

former_member182455
Active Contributor
0 Kudos


Dear Experts,

we are facing the below error while retriving the data from SFTP.we are using PGP modules for  Encryption and Decryption

Error while sending message: Cannot send message to module processor com.sap.aii.af.lib.mp.module.ModuleException: PGPDecryption Module:

Error: org.bouncycastle.openpgp.PGPException: A fitting private key for the encrypted data could not be found: check the password.

kindly help me to resolve the above issue.

Regards

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey Srinu,

Step-1

--> Check key combination and password given in module.

Step-2

--> Test, If does not work. Go to step 3

Step-3

--> Check Standard program which is encrypting the file[32/64/128 bits or more]. And get a new key combination and passphrase

Step-4

--> Test, If does not work. Go to Step 5

Step-5


 

pgp


 

 

applyCompression


 

 

None


 

 

pgp


 

 

applyEncryption


 

 

true


 

 

pgp


 

 

applySignature


 

 

true


 

 

pgp


 

 

asciiArmored


 

 

false


 

 

pgp


 

 

ownPrivateKey


 

 
  1. Keyname.extension
 

 

pgp


 

 

partnerPublicKey


 

 
  1. Keyname.extension
 

 

pgp


 

 

pwdOwnPrivateKey


 

 

******


 

 

pgp


 

 

signingAlgo


 

 

Algorithm name


 

Test.

Hope this helps.

Regards

Baljit

former_member182455
Active Contributor
0 Kudos

Hi All,

Thanks for your replay..... we requested to client to use both keys.

Then the interface is working fine.

Regards

Srinivas


Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Srinu,

If i was you i'd first try with an example that it is proved that it works. Try with the example posted by William Li , may be any missing parameter in the password setting.

Regards.

former_member182455
Active Contributor
0 Kudos

Hi Inaki,

Thanks for the replay, i have implemented same but we are getting same error.

wehen we are implementing with FTPS then the  interface is working fine.

Regards

Srinivas


former_member184720
Active Contributor
0 Kudos

>>>wehen we are implementing with FTPS then the  interface is working fine.


Are you processing the same set of files when you change the transport protocol to FTPS?