Kettle to encrypt file using PGP

2.4k views Asked by At

I want to encrypt files using PGP in Pentaho. I have a Java program to encrypt the file through command line. Kettle recommends to encrypt row by row using user defined call, Is there a way to encrypt whole file as such using kettle user defined class? I am new to kettle.

3

There are 3 answers

0
Peerapat A On BEST ANSWER

I'm not sure about your requirement. but you can develop kettle plugin

http://type-exit.org/adventures-with-open-source-bi/2010/06/developing-a-custom-kettle-plugin-a-simple-transformation-step/

In the plugin just pass filename to method Runtime.exec() to encrypt your file.

5
jacktrade On

Yes you can. Create a new Kettle Job, add your file transformation to the flow job, now use the Encrypt files with PGP Step.

0
Dileep_Kettle On

You can do this at job level. you have a step called Encrypt PGP files. This has to be used at job level. Hope I have answered your question.