SAP Knowledge Base Article - Preview

3525769 - PGP Decryptor Step Fails With an "Unknown Packet Tag: 20" error in Cloud Integration

Symptom

During decryption of a PGP encrypted message received by Cloud Integration, the following error can be seen from decryption step:

  • PGPParsingException: Unknown packet tag: 20

The failing iFlow may return a message of the following type:

  • com.sap.esb.camel.security.pgp.PgpException: An exception occurred during decrypting/verifiyng a PGP message. The PGP message may have been tampered. Reason: The input message body has an invalid format. The PGP decryption/verification processor expects a sequence of PGP packets of the form (entries in brackets are optional and ellipses indicate repetition, comma represents sequential composition, and vertical bar separates alternatives): Public Key Encrypted Session Key ..., Symmetrically Encrypted Data | Sym. Encrypted and Integrity Protected Data, Compressed Data, (One Pass Signature ...,) Literal Data, (Signature ...,), cause: iaik.pgp.exceptions.PGPParsingException: Unknown packet tag: 20


Read more...

Environment

  • SAP Cloud Integration
  • SAP Integration Suite

Product

Cloud Integration all versions ; SAP Integration Suite all versions

Keywords

CPI, HCI, Cloud Integration. Integration Suite. Encrypt, encryption, Decrypt, decryption, PGP Encryption, PGP Decryption, PGP Decryptor, PGP Key, decryption key, encryption key, rfc4880, rfc2440, rfc9580, PgpException, An exception occurred during decrypting/verifiyng a PGP message, the PGP message may have been tampered, Unknown packet tag: 20, integration flow, iFlow, AEAD, public key, Unknown packet tag, packet tag , KBA , LOD-HCI-PI-CON-SOAP , SOAP 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.