Hi,
I need to be able to encrypt files.
Is there a tFileEncrypt component I can download?
Is it possible to do with tSystem? If yes, how?
Let me know
Thanks.
Boris
Hi Boris,
I can't remember if I left the drop down with DSA in the component or not, if I did I apologize. DSA is Digital Signature Algorithm and is used for signing only, not encrypting. I orginally intended to implement encryption with ElGamal and signing with DSA (Which PGP supports) but decided against it in the end and just used RSA, due to the collision weakness in SHA1 (used by DSA) and the GPG developers decision to move to RSA as the default (probably for this same reason). (
http://lists.gnupg.org/pipermail/gnupg-users/2009-June/036794.html)
Hi,
So, my client's requirement is that this is done with DSA type key, so tPGPEncrypt won't work for me.
I am now trying this using tSystem component. I put in this command (which works manually from a unix window):
"gpg --encrypt --recipient 'Boris Volf' /apps/talend/TIS_EE_3/share/EBS/list_p0005664dyoy_201005111441.txt"
And get the following:
Starting job Concur_ftp at 14:39 13/05/2010.
connecting to socket on port 4157
connected
disconnected
usage: gpg --encrypt
Job Concur_ftp ended at 14:39 13/05/2010.
This looks like 'Boris Volf' is causing issues due to single quotes inside double quotes. I tried with this, and still get the same:
"gpg --encrypt --recipient \'Boris Volf\' /apps/talend/TIS_EE_3/share/EBS/list_p0005664dyoy_201005111441.txt"
Do you know what the problem is?
You are using a DSA/Elgamal keypair then. Trying passing the parameters in the parameters section of the tSystem instead of in the command section (which should just be '/usr/bin/gpg' or wherever gpg is)
Yes, I am using DSA/Elgamal pair.
I created a parameter called "key_name", "key_name" values is "Boris Volf"
so my tSystem command looks like this:
"gpg --encrypt --recipient key_name /apps/talend/TIS_EE_3/share/EBS/list_p0005664dyoy_201005111441.txt"
However, now it does not recognize my public key:
connecting to socket on port 3391
connected
disconnected
gpg: key_name: skipped: public key not found
gpg: /apps/talend/TIS_EE_3/share/EBS/list_p0005664dyoy_201005111441.txt: encryption failed: public key not found
Hi Josh,
Also, while generating a gpg key, I changed my name from "Boris Volf" to BorisVolf, eliminating the space.
From UNIX, this command still works:
gpg --encrypt --recipient 'BorisVolf' /apps/talend/TIS_EE_3/share/EBS/list_p0005664dyoy_201005111441.txt
From Talend, I get the "public key" not found error.
Please let me know how I can encrypt a file using any of Talend's components.
Thanks,
Boris
Hello,
I removed the single quotes all together, and that seemed to have worked.
"gpg --encrypt --recipient BorisVolf /apps/talend/TIS_EE_3/share/EBS/list_p0005664dyoy_201005111441.txt"
Just waiting for my client to make sure DSA/Elgamal will work for them
Thanks,
Boris
Hi I have downloaded the "tGPGEncrypt" component from the following link: http://www.talendforge.org/bugs/view.php?id=4557 However, when I use it to encrypt a file, nothing happens. It shows no error and exits with a return code 0. -------------------------------------------------- Starting job tJava_cmd at 16:19 22/01/2011. connecting to socket on port 3949 connected disconnected Job tJava_cmd ended at 16:19 22/01/2011. ---------------------------------------------------- Can you please advise.. Regards Kshitij
I need to encrypt a csv file to a pgp file. And then again decrypt it....
please can you illustrate the steps with some example....
Also my version of talend studio does not have any encryption component...
please help asap...