Skip to main content
deepthit4847
December 18, 2024
Question

Getting error when trying to decrypt the csv file using PGP

  • December 18, 2024
  • 2 replies
  • 0 views

Hi All,

Got below error when trying to decrypt the csv file using PGP. Does anyone know what can be done to resolve this

class org.bouncycastle.openpgp.PGPLiteralData cannot be cast to class org.bouncycastle.openpgp.PGPCompressedData (org.bouncycastle.openpgp.PGPLiteralData and org.bouncycastle.openpgp.PGPCompressedData are in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader 

2 replies

mathieud0001
December 19, 2024

I would suggest contacting the plugin author.

community.appian.com/.../pgp-encryption-utilities

April 17, 2025

We are using a custom implementation of PGP. But this error is due to the usage of PGPLiteral instead of CompressedData during Encrypt. For this plugin, looks like the author has released a new version with fix specific to handle PGPLiteralData.