<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Linux script for PGP encryption in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722002#M1138232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does anybody have any idea???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 07:15:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-17T07:15:41Z</dc:date>
    <item>
      <title>Linux script for PGP encryption</title>
      <link>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaq-p/2722001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are trying to do PGP encryption by giving the OS command in the File adapter. Can somebody provide me the exact linux script that we should use to do PGP encryption?&lt;/P&gt;&lt;P&gt;Note: We have XI-3.0 on LINUX.&lt;/P&gt;&lt;P&gt;Promise points for helpful answers. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 20:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaq-p/2722001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T20:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux script for PGP encryption</title>
      <link>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722002#M1138232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does anybody have any idea???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 07:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722002#M1138232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T07:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Linux script for PGP encryption</title>
      <link>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722003#M1138233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current versions found at &lt;A href="http://www.cryptix.org" target="test_blank"&gt;http://www.cryptix.org&lt;/A&gt; and &lt;A href="http://www.bouncycastle.org" target="test_blank"&gt;http://www.bouncycastle.org&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.bouncycastle.org/documentation.html" target="test_blank"&gt;http://www.bouncycastle.org/documentation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use the unix script on windows then you need cygwin. Take the shell executable and cygwin.dll and copy them to another machine and try out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you write an .exe or a batch file where you will give your PGP command to encrypt and decrypt and execute it from the OS level in your adapter. Check my answer in this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3454319"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Might be useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 08:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722003#M1138233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T08:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linux script for PGP encryption</title>
      <link>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722004#M1138234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajashree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PGP Encryption is used to support the transmission of sensitive data to / from third party systems via XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adapter modules are developed to encrypt the file using PGP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had a similar requirement where we used PGP encryption.The module was developed using Cryptix OpenPGP which is a Java implementation of the OpenPGP standard.When the module is called in the adapter, it uses the PGP key provided by the party that will receive the encrypted message. This module should be called prior to calling the Sap adapter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic Flow/Processing:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;1.Read the XML payload and message for getting the needed data.&lt;/P&gt;&lt;P&gt;2.Read the key to be used in the encryption and log the key to be used and the beginning of the encryption.&lt;/P&gt;&lt;P&gt;3.Call the PGP encryption and compression method.&lt;/P&gt;&lt;P&gt;4.Log whether encryption has been successful.&lt;/P&gt;&lt;P&gt;5.Set as payload the message content encrypted, and the principal data.&lt;/P&gt;&lt;P&gt;6.If any error occurs, logs an exception in PGP adapter module and the error reason.&lt;/P&gt;&lt;P&gt;7.Return the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through This links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="140964"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="141708"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.webmethods.com/meta/default/folder/0000007429" target="test_blank"&gt;http://www.webmethods.com/meta/default/folder/0000007429&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="30352"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="141343"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www1.webmethods.com/PDF/webMethods_for_SAP-wp.pdf" target="test_blank"&gt;http://www1.webmethods.com/PDF/webMethods_for_SAP-wp.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current versions found at &lt;A href="http://www.cryptix.org" target="test_blank"&gt;http://www.cryptix.org&lt;/A&gt; and &lt;A href="http://www.bouncycastle.org" target="test_blank"&gt;http://www.bouncycastle.org&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.bouncycastle.org/documentation.html" target="test_blank"&gt;http://www.bouncycastle.org/documentation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use the unix script on windows then you need cygwin. Take the shell executable and cygwin.dll and copy them to another machine and try out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you write an .exe or a batch file where you will give your PGP command to encrypt and decrypt and execute it from the OS level in your adapter. Check my answer in this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3454319"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Might be useful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3453519"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3540420"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;\&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3562653"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls rewards if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 08:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/linux-script-for-pgp-encryption/qaa-p/2722004#M1138234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T08:20:19Z</dc:date>
    </item>
  </channel>
</rss>

