Search code examples
javaetlkettleuser-defined

Kettle to encrypt file using PGP


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.


Solution

  • 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.