Encryption Error 8004 'pgpEncrypt' must contain publickey el

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1


Posts: 8
Joined: Wed Dec 08, 2010 1:49 pm

Post by Frank_CMRG » Wed Dec 08, 2010 4:32 pm
New to Go Anywhare, and converting old jobs from a home grown application.
I am trying to setup an FTPGET, Encrypt, and FTP PUT project.
I have the FTP steps working, now I am adding the PGP Encrypt Task between them.
I loaded the task PGPEncrypt and filled in the advanced tab with the Public and private key ring elements using the Wizzard, saved and compiled with no errors, however; I get the following error on Execution:

[8004 - pgpEncrypt] Element 'pgpEncrypt' must contain at least 1 'publicKey' elements

Here is the XML code, hopefully it will not be striped out or cause an issue:

<pgpEncrypt logLevel="debug" version="1.0" resourceId="Casual Male Key Ring" publicKeyRing="D:\GoAnywhere\userdata\keys\pgp\pubring.pkr" secretKeyRing="D:\GoAnywhere\userdata\keys\pgp\secring.skr" inputFile="${srcxref}" outputFile="${srcxref}.pgp" outputDir="\" outputFilesVariable="enc_file" />

Any suggestions?



Support Specialist
Posts: 66
Joined: Thu Mar 05, 2009 3:49 pm

Post by Support_Duane » Thu Dec 09, 2010 3:37 pm
When you are in the Encrypt task, you must click on either Action or Next, then from the dropdown, select "Add a Public Key".
If you need to sign the file, you will need to go through the same process and select "Add a Secret Key".
2 posts Page 1 of 1