Overview
Allows PGP encryption and decryption of files. Support for Signing documents and Verifying the signature using PGP.
Key Features & Functionality
Smart Services:
Hi Team,
We are using this plugin for encrypting the file (Excel with two sheets) before sending through SFTP, while decrypting we have only one sheet. Have anyone tried Excel with Two sheets?
Thanks in advance.
peterb0003 I'm encountering a similar error. Were you able to resolve it? If so, could you please share the solution you used?
@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.
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.
Hello Stewart,
Have you found a solution to this problem by any chance ? I am facing the same issue trying to encrypt a file.
Thanks !
Hi,
Plugin doesn't seem to support ECDH based encryption/decryption using ECC Keys (although bouncy castle does have support for it)
Would be great if the plugin could be enhanced. Thanks!
We are trying to decrypt a file. Using encrypt & decrypt command we are able to do successfully. If we try to decrypt via appian process, using the same private key we are getting below error:
[Appian Work Item - 260457 - WorkID 92 - execution00 - process 3576512 - model 96 : UnattendedJavaActivityRequest] ERROR com.appiancorp.plugins.pgp.PGPDecryptFileSmartService - Error decrypting file with PGP java.io.IOException: unknown packet type encountered: 20
Hello
We have tries this out in a Sandbox app in our Dev environment and are seeing the following:
In the logs we are seeing this error:
11:39:29.908 [Appian Work Item - 5968 - WorkID 298 - execution00 - process 19235 - model 5178 : UnattendedJavaActivityRequest] ERROR com.vuram.plugins.ps.PGPEncryptFileSmartService - Error encrypting file with PGPorg.bouncycastle.openpgp.PGPException: unable to set up ephemeral keys: unknown ParameterSpec
This error message isn't helping identify the root cause of the error. Are you able to provide some indication as to what the problem is?
More worrying is that the process does not catch this error and continues on to completion, giving a falsely positive indication that the process has completed successfully. Whilst a fix to the root cause is required, we cannot use this plug-in if we cannot be sure that the process will not stop when errors are encountered. So in actual fact a fix to both issues is required for us to be able to use this.