Overview
Allows PGP encryption and decryption of files. Support for Signing documents and Verifying the signature using PGP.
Key Features & Functionality
Smart Services:
Getting this error while decrypting a file:
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 @47279598)
I see a similar issue was found 3 years ago but there was no response. Assistance would be appreciated.
@VuramIn Class decryptFileWithExtension & Class decryptFilePGPCompressedData cData = (PGPCompressedData)plainFact.nextObject();I believe this is the error because in this case PGPLiteralData is casted to PGPCompressedData. Checking instanceof plainFact.nextObject() before any casts would prevent the error.