Skip to Content

PGP Standard Module Encryption- Partner unable to decrypt the file

Hello Experts,

I am working on File to SFTP scenario using Standard PGP module for encrypting the data.

I am using parameters (please see screenshot) in receiver SFTP channel but partner is not able to decrypt the file using their private key.

Strange thing is they are not even getting any error. Also, partner is not sure of encryption algorithm they are following.

Let me know does it really matter with respect to encryption algorithm which we are using in parameters?

I also tried maintaining our private key and password in parameters but still it is not working

Tool use by partner : PGP 6.5.8 for Windows 9x/NT/2000 for decrypting the file.


Below are the parameters tried from my end and none of them is working.


Regards,

Hemant Malvi

Capture1_pgp.PNG (14.4 kB)
Capture1.PNG (14.8 kB)
Capture2.PNG (16.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Aug 12, 2016 at 05:54 AM

    Hell Hemant,

    I believe algorithm could be a problem.

    Did you get the file from partner and check whether it is decrypted?.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2016 at 06:16 AM

    Hemant,

    If you are using just encryption thne Screenshot 1 and 2 look good , if you are using sign+encryption then screenshot 3 is fine but in this case make sure you have shared your public key with the third party.

    And yes the encryption algo should be same for decryption/encryption , and also check for other parameters like compression / armoring.

    br,

    Manoj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2016 at 11:59 AM

    Hi Hemant,

    I will give just few points , try that and let me know it worked or not

    1. Remove the keyRootPath parameter , but do give ownPrivateKey and Password + add the parameter applySignature = true

    2. If the above doesn't work remove dynamic attribute change bean and then process your file once with applySignature=true and once with applySignature=false

    Regards,

    Vikas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2016 at 06:32 AM

    Hi Hemant,

    Please cross check the partner public key hex value and partner private key hex value. Also try removing DACB and give a try once again.

    Also check with partner whether they are expecting sign also on file. If yes, Kindly maintain applySignature=true.

    Regards,

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2016 at 10:44 AM

    Hi Hemant,

    please check and follow the below steps.

    Regards

    Srinivas


    Capture.PNG (17.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.