PGP Encryption Utilities

Overview

Allows PGP encryption and decryption of files. Support for Signing documents and Verifying the signature using PGP.

Key Features & Functionality

Smart Services:

  • PGP Encrypt - using provided public certificate
  • PGP Decrypt - using provided private certificate and password
  • PGP Signfile - Sign File With PGP
  • PGP Verifyfile - Verify File With PGP
  • Encrypt File With ECDH Algorithm
  • Decrypt File With ECDH Algorithm
  • Generate ECC Secret Key
Anonymous
Parents
  • 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

Comment Children
No Data