on ‎2021 Jun 24 5:31 AM
Hi,
My requirement is to send a file from the source to target SFTPs via SAP CPI, and the file should be encrypted and signed while posting the file to the target SFTP. I used the PGP encryptor in SAP CPI to encrypt (used public key) and sign (used private key). However, the customer, came back to us the signature verification failed at their end while decrypting the file.
As analyzed in detail, the issue seems to be in the one-pass signature packet identifier.
I have used the GnuPG tool (Kleopatra) directly to encrypt/sign the file for the validation and that's working fine which means the one-pass signature packet identifier (last=1) is coming as expected.
But the file generated in SAP CPI, the one-pass signature identifier is coming as 0 (last=0). which makes the file failed to decrypt at the customer end.
Adding the screenshots in, to differentiate the files generated by Gnupg and SAP CPI
Success one - GnuPG file has the right one-pass signature identifier.

Failed one - SAP CPI generated file, has an incorrect one-pass signature identifier

Attached the SAP CPI encryptor configuration below,

Appreciate your assistance, to correct the one-pass signature identifier in SAP CPI.
Regards,
Naveen
Request clarification before answering.
This issue is fixed since a couple of months
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.