Skip to Content
avatar image
Former Member

PGP module error


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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 22, 2014 at 08:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi All,

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

      Then the interface is working fine.

      Regards

      Srinivas


  • Sep 15, 2014 at 11:26 AM

    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 Using PGP in Process Integration, may be any missing parameter in the password setting.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded