Overview
Allows PGP encryption and decryption of files. Support for Signing documents and Verifying the signature using PGP.
Key Features & Functionality
Smart Services:
Hello,
when using encryption smart service we keep getting error message
"In order to access this method, this Document needs to be retrieved via ContentService.download()"
The output document shows in appian designer, has corresponding extension, but is of size <1KB (0 probably) and its not downloadable. In PM, when using PV to store this as an output of the smart service into, the PV ends up with no value.
Any sugggestion what could be going wrong?
Hi vigneshe
We are also having difficulties to reproduce it now, and the concerned process instance has been archived.
I will update you if I have anything new
thanks again
Hi mokc0038 ,We can't reproduce the issue that you mentioned. Kindly provide details on the configured parameters for further investigation.Regards,Vignesh E
Hi mokc0038 ,Thanks for reaching out!We will start looking into the issue and get back to you.
Praveen Santhosh
Hi everyone
After doing some tests (after your last delivery), we have a new error happening everytime when trying to decrypt a file without creating a new file.
The error message is always : Changed to Invalid UTF-8 input
Here are detailed logs :
decryptedFile = KeyBasedLargeFileProcessor.decryptFileWithExtension(cs.getDocumentInputStream(fileToDecrypt), cs.getDocumentInputStream(privateKey), pwd.toCharArray(), decryptedFileName, existingDocument, createNewDocument, saveToFolder, cs);
09:27:26.867 [Appian Work Item - 105396 - WorkID 751 - execution02 - process 7808744 - model 14766 : UnattendedJavaActivityRequest] ERROR com.vuram.plugins.ps.PGPDecryptFileSmartService - Error decrypting file with PGP java.lang.IllegalArgumentException: Invalid UTF-8 input at org.bouncycastle.util.Strings.fromUTF8ByteArray(Unknown Source) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:1.70.0] at org.bouncycastle.bcpg.ArmoredInputStream.parseHeaders(Unknown Source) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:1.70.00.0] at org.bouncycastle.bcpg.ArmoredInputStream.<init>(Unknown Source) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:1.70.00.0] at org.bouncycastle.bcpg.ArmoredInputStream.<init>(Unknown Source) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:1.70.00.0] at org.bouncycastle.openpgp.PGPUtil.getDecoderStream(Unknown Source) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:1.70.00.0] at com.vuram.pgp.util.KeyBasedLargeFileProcessor.decryptFileWithExtension(KeyBasedLargeFileProcessor.java:52) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:?] at com.vuram.plugins.ps.PGPDecryptFileSmartService.run(PGPDecryptFileSmartService.java:59) ~[pgp-encryption-utilities-2.0.0_16352123_7853057402114c.jar:?] at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:136) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.plugins.PluginUsageLogger.runWithPluginInformation(PluginUsageLogger.java:54) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:136) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:130) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:27) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:130) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:22) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55) ~[appian-ae-23.2.310.0.jar:?] at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143) [appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68) [appian-ae-23.2.310.0.jar:?] at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129) [appian-ae-23.2.310.0.jar:?] at
Please let us know if we are doing something wrong or if the plugin need a patch. If yes let us know when it will be updated.
Thanks and happy new year
Hi mokc0038 ,
The plugin has been listed.
Regards,
Hi Praveen, shall we expect the new version for tomorrow?
Thanks
Hi Praveen should we expect the new version for tomorrow?