Posted: 11 Mar 2015 17:53 EDT Last activity: 17 Mar 2015 13:59 EDT
Decrypt file using PGP keys
We have requirement to decrypt the file (text file), which placed by an external system in a server where i have access and external system can provide the PGP keys whihc they used for the encryption of the file. Tell me if they is any OOTB and if not, help me with any code for the same and the supported jar files to be used. Thanks.
There is no OOTB way to do this in Pega and infact I think it would be best done outside of Pega. You have not said what you want to do with the file or which version of Pega you are using, if you give me a bit more detail perhaps I can give you some better guidance but for now I think doing this outside of Pega seems the simplest solution.
Cecil Howell, CSA | Senior Instructor | Pegasystems Inc.
Thanks howec for your reply. I need to decrypt the file ( which was encrypted by external system lets say Dot NET system using PGP Public and private keys) and i will parse the data and create an object/case. So here i would not need to maintain or generate the keys in PEGA, but should be able to encrypt the file using the key provided by external system. It would be also great if you can let me know to generate keys and also use inside PEGA. Need sample code to do this in JAVA and which JAR files support and i want to to do this in PEGA 6.1 SP2).