SAP Knowledge Base Article - Preview

2421156 - PGPException: checksum mismatch at 0 of 20

Symptom

You are using a communication channel together with the PGPDecryption module, and the following error is thrown in channel monitoring:

PGPException.JPG

The XPI Inspector Trace shows this error stack trace:

Catching org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20
 at org.bouncycastle.openpgp.PGPSecretKey.extractKeyData(PGPSecretKey.java:446)
 at org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(PGPSecretKey.java:570)
 at com.sap.aii.adapter.pgp.ejb.api.util.PGPDecModuleUtil.findPrivateKey(PGPDecModuleUtil.java:403)
 at com.sap.aii.adapter.pgp.ejb.api.util.PGPDecModuleUtil.findPGPPrivateKey(PGPDecModuleUtil.java:189)
 at com.sap.aii.adapter.pgp.ejb.api.PGPDecryptionBean.getClearInputStream(PGPDecryptionBean.java:300)
 at com.sap.aii.adapter.pgp.ejb.api.PGPDecryptionBean.process(PGPDecryptionBean.java:175)
...
Error while decrypting/verifying the message. Error: org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20. Cause: <null>
Module Exception 'com.sap.aii.af.lib.mp.module.ModuleException: PGPDecryption Module: ' found, cause: org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20
Attempt to process file failed with org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20
FILE_ERR_211


Read more...

Environment

  • SAP NetWeaver 7.0
  • SAP enhancement package 1 for SAP NetWeaver 7.0
  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP enhancement package 3 for SAP NetWeaver 7.0
  • SAP NetWeaver Process Integration 7.1
  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5
  • SAP Process Integration, connectivity add-on
  • SAP Process Integration, business-to-business add-on
  • SAP Process Integration, secure connectivity add-on

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration, secure connectivity add-on 1.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

PGPException, SFTP, PGP, key, keyring, secret key, public key, encryption, decryption, checksum mismatch at 0 of 20, localejbs/PGPDecryption, PGPDecryption, bouncycastle, FILE_ERR_211, B2B, B2BIC, PGP Secure Store, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.