Skip to Content
0

PGP Decryption error - error while decryption PGP GnuPG v2 VERSION FILE

Feb 15 at 07:20 AM

43

avatar image
Former Member

scenario - SFTP to FTP file transfer scenario using PGP

SFTP location contains encrypted file which is generated using public key and when this encrypted file is getting passed to FTP, I am facing below error

MP: exception caught with cause org.bouncycastle.openpgp.PGPException: Exception starting decryption

Observation from my side -

When encrypted file have Version: GnuPG v2, PO is throwing above error.

When encrypted file have version as BCPG C# v1.6.1.0, file is successfully getting decrypted

Please let me know is there any additional settings needs to be done in channel to accept

GnuPG v2 encrypted version

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Feb 15 at 07:25 AM
0

Scenario screenshot is attached herewith


capture.png (55.1 kB)
capture1.png (23.0 kB)
Show 5 Share
10 |10000 characters needed characters left characters exceeded

Hi Pawan,

Are other Decryption scenarios working fine?

Regards,

Vivek

0
Former Member

When encrypted file have version is BCPG C# v1.6.1.0, file is successfully getting decrypted

0

Hi Pawan,

What I meant was - are other interfaces involving Decryption working fine , or you are facing issue in this particular interface?

Regards,

Vivek

0
Former Member

Hi

This is the first scenario which we are trying using PGP decryption

0

Hi Pawan,

Please check below points:

1. Password for Private Key provided in Channel.

2. Please try decrypting the file using any tool available over internet.

3. Check the key Length supported - goto http://host:Port/BC//VerifyJCE.

All entries should be OK(for each and every bit length).

4. Also , please give a screenshot of your SFTP Channel configuration.

Regards,

Vivek

0
George Applegate Feb 15 at 10:56 AM
0

I had this a week or so ago, check the password specified, check order of settings and password for the pgp decryption / where the keys are stored and are referenced properly:

https://answers.sap.com/questions/425847/pgp-decryption-issues.html

Share
10 |10000 characters needed characters left characters exceeded