Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Derek2
Contributor II
Contributor II

tGPGDecrypt works locally but fails on Remote Engine with gpg: decryption failed: No secret key

New to Talend and we are just starting to setup our jobs. We frequently have to decrypt files sent to us and then load the data to a database. The only issue experienced so far is with the decryption and encryption pieces. When running the tGPGDecrypt through

Talend Cloud Data Management client using Localhost the job complete successfully, decrypts the file, and process it as expected. When changing the Target Exec to a remote engine it errors with "

gpg: decryption failed: No secret key".

  • Keys were imported using the same gpg software locally and on the remote engine VM
  • Verified that the secret key exists on remote engine VM
  • Can decrypt file local and on the vm using windows command line code
  • gpg is installed in the same location locally and on the remote engine - C:/Program Files (x86)/GnuPG

Has anyone had similar issues? What did you do to resolve it? I searched the Talend community but didn't find anything similar to this and have been working with Talend support but they haven't been able to share a solution yet.

What we are using:

Talend Cloud Data Management Platform

Version: 7.3.1

Remote Engine runs of Azure VM

Version: 2.9.1

1 Solution

Accepted Solutions
Derek2
Contributor II
Contributor II
Author

Figured this out. It has to do with the environment variable configuration for the home directory.

View solution in original post

2 Replies
Derek2
Contributor II
Contributor II
Author

Figured this out. It has to do with the environment variable configuration for the home directory.

Anonymous
Not applicable

Hello,

Here is a KB article about: https://community.talend.com/s/article/tGPGDecrypt-no-secret-key

Hope it helps

Best regards

Sabrina