Five Stars

[resolved] PGP Decryption giving Secret key not found.

Hi All
i am having many .pgp file so that i created a job, which decrypt files using tGPGDecrypt component, but component gives error "secret key not found".
i thought i am supplying wrong Pass-phrase, so i went to the remote server(files location) and tried to executed a command line with same Pass-Phrase and it works well and decrypted all the files.
so can any one tell me what would be the problem ?
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] PGP Decryption giving Secret key not found.

i have set up the gpg and designed the tGPGDecrypt job well, but it is forcing for key key even i have offered complete term as well please recommend.
----------
http://www.oilpainting-shop.com
9 REPLIES
One Star

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
Which version of gpg do you use?
I'm afraid this is related to gpg command options which be executed in TOS java code.
In fact, I try to use gpg and get this same error.
Regards,
Pedro
Five Stars

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
i am using gpg version 2.1.0 (2011-03-15) , so pedro, do we have any other way to decrypt .pgp file.
One Star

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
Here is a screenshot of my job. And i can run it successfully.
My gpg version is gpg4win-2.1.0.
Regards,
Pedro
Five Stars

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
i tried in the same way as you mention in screen shot. except i am having the .exe which is copied from the folder where gpg installed. because i can not installed gpg on my destination server where i want to perform this task.
One Star

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
If you don't install gpg4win-2.1.0 and just copy gpg.exe, you will get error.
Regards,
Pedro
Five Stars

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
i have installed the gpg and configured the tGPGDecrypt job well, but it is prompting for secret key even i have provided pass phrase as well please suggest.
One Star

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
Please show us the error log.
We need to find out where you didn't configure it correctly.
Regards,
Pedro
Five Stars

Re: [resolved] PGP Decryption giving Secret key not found.

Hi
i configured the job as you mention above but, the passphrase window popups so simply clicked on OK button and then it again prompts for passphrase so clicked on canceled button.
the same passphrase i am using with tSystem component it is working fine and decrypting without error.
below is the error log.

gpg: Invalid passphrase ; please try again....
gpg: AllowSetForegroundWindow(5056) failed: Access is Denied.
gpg: cancelled by user
gpg: decryption failed: No secret key

please suggest.
One Star

Re: [resolved] PGP Decryption giving Secret key not found.

i have set up the gpg and designed the tGPGDecrypt job well, but it is forcing for key key even i have offered complete term as well please recommend.
----------
http://www.oilpainting-shop.com