Hi subz, in my case, I ended up using the "tFileEncryptGPG" component from Talend Exchange for now. Maybe @shong can get the Devs to add a GPG 'Encrypt' component since Studio already has the 'tGPGDecrypt' component.
When using 'tFileEncryptPGP' component, we had to de-armor the customer's 'armored' encrypted public key they sent to us (it had a '.asc' extension) using script as shown below. The de-armored pub key has a '.gpg' extension after running the script like below. If you are on a Windows OS, the application 'Gpg4win' is what I used to convert the armored .asc pub key to a .gpg encrypted pub key.
"gpg --dearmor the-asc-file.asc" will convert from .asc to .gpg
After .asc file was de-armored, the 'tFileEncryptPGP' component worked for us.
Many thanks for your kind reply. Actually I have already downloaded the custom component tFileEncryptGPG and tried to install in talend but the problem is that it is not compatible with the talend version I am Using. I am using Talend ESB 7.2.1 while the component works in version 5.
In which version are you using tFileEncryptPGP?.. Do we have any other method to achieve the PGP Encryption in Talend? Only decryption is possible and Decryption component is availble too
This Exchange Component works in our ESB 6.2.1 version. We are moving to ESB 7.2.1. Seems odd this doesn't work in 7.2.1 unless it is a Java version issue.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables