on 08-09-2008 3:03 PM
Hi All,
In my scenario i need to pick up a file,encrypt it using PGP and then send it destination folder.
As i am new to XI ,I don't have any idea how to encrypt the file using PGP.it would be helpful for me if anyone could help me.
Regards,
Hemanth.
Hi,
An update to the URL provided elsewhere in this link:
http://www.aedaptive.com/index.php/solutions/pgp-for-sap-netweaver
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
In our case,we did encryption/decryption via OS script,saved us from writing modules or buying any third party tool.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thats a tough one.
Following are the solutions;
1. write a module to do the encryption - a tough choice
2. Buy PGP modules from 3rd parties that can be used in your adapter to do the enc/decryption
eg. http://www.aedaptive.com/index.php?option=com_content&task=view&id=52&Itemid=66
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to write a PI module that would allow us to encrypt data in memory before using the File/FTP adapter to either write the data to disk or send the data to an external system. We want to avoid writing unencrypted data to disk, even for a short time.
I've written a Java wrapper around the Bouncy Castle cryptographic library. Piece of cake. I can receive a String, encrypt it, and return the resulting String.
Now I'm trying to figure out what to do in the Module with the ModuleData. I don't have a good example to follow. I want to take the output data as a String, encrypt it to a new String, and put it back in the ModuleData in a way that the File/FTP adapter can save the data.
It looks like I'm going to get the XML representation of the data, though. What I want to encrypt is the text that would have been written out by the File/FTP adapter.
Any suggestions?
Thanks,
-Andy
But by that time, data would have already been written to the disk..!! Think module is the only option. May be we can read the raw file (No content conversion) then in an adapter module use PGP API to encrypt the complete string and create an XML with only one element. Send this to IE (Or you can skip if all that we need is encryption by using dummy interface and namespace in ID). Write it to the output side.
Only thing is, one needs to find out if the data is already written to disk when the adapter picks the file..!!
VJ
I can suggest two Solutions.
First : Install the reliable encryption tool in XI Server and with the help of OS encrypt the file, put it in a temp location in XI server and then pick it and send to receiver and delete the temp file from the XI server.
Second: (I did it) - Using Bouncy Castle API's for PGP encryption, develop Adapter Module. This module will contains the parameters like public key location, type of algorithm etc. You can also trace i.e. Error logs that will help while Adapter Monitoring.
Thanks
Farooq
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.