Error while encrypting a file using PGP
Comments
-
Hi,
I’m getting this error trying to Encrypt a file using PGP for the first time. Can you help me to solve the problem?
Name: Error running step Encrypt File 1[EncryptFile] in flow [PgpEncryptFile]: Exception invoking method EncryptFile on class PGPSteps Exception Message: Error running step Encrypt File 1[EncryptFile] in flow [PgpEncryptFile]: Exception invoking method EncryptFile on class PGPSteps Input Values: -- No Data -- Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Encrypt File 1[EncryptFile] in flow [PgpEncryptFile]: Exception invoking method EncryptFile on class PGPSteps ---> System.Exception: Exception invoking method EncryptFile on class PGPSteps ---> Decsisions.PGP.Steps.Exceptions.WrongPublicKeyStepsException: Wrong public key at Decsisions.PGP.Steps.Processor.GetPgpPublicKey(Stream inputStream) at Decsisions.PGP.Steps.BouncyCastleProcessor.EncryptStream(Stream dataStream, Stream publicKeyStream, Stream outputStream, Boolean asciiArmor) at Decsisions.PGP.Steps.PGPSteps.EncryptFile(Byte[] publicKey, Byte[] data, Boolean binary, String outputFileName) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --
[img]att1[/img]
[i]edited by Moshe on 4/22/2019[/i] -
Hello,
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Your setup is correct, but this error related to your Public Key. Apparently, flow throwing Wrong Public Key error. Could you please check your PGP Public Key and retry again? You can get test Public and Private Keys from [/font][/color][url=https://sela.io/pgp/]this link[/url][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif] to test your flow with different keys. If you still get the same error message please let me know. [/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]
[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Regards[/font][/color] -
Thanks a lot. That solved the problem.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 492 General Q & A
- 698 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 79 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions