views:

165

answers:

3

I have a SSIS package that writes the output to Flat file. Now I need to PGP encrypt the output file and further decrypt in other packages. I am curious if anyone knows of how to do this, or better yet a website with helpful hints on how to do it.

Thanks

+1  A: 

Assuming you want to do the en/de-cryption within SSIS, the simplest method will probably to explore the command line version of whichever encryption software you are using, and execute it using an Execute Process task.

If you haven't yet selected encryption software, obvious choices include PGP (commercial) and GnuPG (open source).

The other option would be to write .Net code to carry out en/de-cryption in a Script Task - this would require a .dll from PGP or GnuPG. Various generic .Net examples (not specific to SSIS) are available - like this one - but I can't comment on their completeness or quality.

This SQLServerCentral thread may have some useful pointers.

Ed Harper
+1  A: 

For stable, well-supported and updated PGP-compatible SSIS task check our BizCrypto product.

Eugene Mayevski 'EldoS Corp
+1  A: 

Check the third-party commercial CozyRoc SSIS+ library. It includes OpenPGP Task and many other useful extensions.

CozyRoc