Hi,
I’m trying to implement the GitHub PGP package (GitHub - SoftwareAG/webmethods-integrationserver-pgpencryption: webMethods Integration Server PGP package), but getting errors while running the readPublicKeys and getPrivateKeys. Fixed readPublicKeys by modifying the below step by referring the pgp_idk.jar
GitHub Code : keyPub = PGPKeyReader.readPublicKey(ringPub,PGPInit.getKeyExchangeAlgorithm(alg));
Modified Code : keyPub = PGPKeyReader.readPublicKey(path,PGPInit.getKeyExchangeAlgorithm(alg));
Unable to fix the getPrivateKeys service, getting the error “Private key ring is empty” while running testDecryptFile service.
[I]getPrivateKeys is only returning “privateKeyRing” as per the GitHub code. I fixed this service to return all the output parameters by changing the code entirely(attached), still testDecryptFile is throwing the same error. Can someone help me with this?
modifiedgetPrivateKeys.java (3.22 KB)
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB