<?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>topic Re: encrypting shell file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748154#M834223</link>
    <description>If I read your question correctly, you want to encrypt the script, but have so that it is still executable on your customers system.  Is that correct?&lt;BR /&gt;&lt;BR /&gt;If so, I know of no way to do this.  Some options you have are to rewrite the script in C, and compile it.  I believe PERL also has options to compile programs as well.  That could also be an option.</description>
    <pubDate>Wed, 19 Jun 2002 18:12:48 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2002-06-19T18:12:48Z</dc:date>
    <item>
      <title>encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748148#M834217</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I wrote a shell script that will be shipped over to our customers. If there any way to encrypt the file so customers won't be able to see its contents. The script still must be executable?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!</description>
      <pubDate>Wed, 19 Jun 2002 17:30:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748148#M834217</guid>
      <dc:creator>andi_1</dc:creator>
      <dc:date>2002-06-19T17:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748149#M834218</link>
      <description>Andy&lt;BR /&gt;&lt;BR /&gt;There is something called crypt - I have not used this so not sure exactly how it works &lt;BR /&gt;&lt;BR /&gt;man crypt&lt;BR /&gt;&lt;BR /&gt;for more info&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 19 Jun 2002 17:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748149#M834218</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-19T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748150#M834219</link>
      <description>Generally speaking if the users have "root" access on their machine, they can look at anything. And to run a script (even an encrypted one) it must be put into plain text at some point. A knowledgable SA could determine it's contents pretty easily.&lt;BR /&gt;&lt;BR /&gt;If secrecy is an issue, then create a "c" program and send only the executable.&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Wed, 19 Jun 2002 17:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748150#M834219</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-19T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748151#M834220</link>
      <description>Andi&lt;BR /&gt;&lt;BR /&gt;It appears as though crypt is used when sending mail - the receiver having to decrypt before reading&lt;BR /&gt;&lt;BR /&gt;Below post for more&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x28747bb04b5cd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x28747bb04b5cd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As per Rodney's comments - If the users have root access to there systems - they can do anything - you also need read access to be able to execute&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 19 Jun 2002 17:49:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748151#M834220</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-19T17:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748152#M834221</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  You can use the crypt command to encrypt the data.&lt;BR /&gt;&lt;BR /&gt;  Or you can use the utility called PGP(Pretty Good Privacy) to encrypt/decrypt data. You need to download that from&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.pgpi.org/products/pgp/versions/freeware/unix/" target="_blank"&gt;http://www.pgpi.org/products/pgp/versions/freeware/unix/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt; After installing the utility create the public/private key.  U should have the public key of the recipients. So that you can encrypt the data by using their ID(get it from their public key) and send the encrypted data to the recipients. They can decrypt the data/file by using their secret key(private key)/pass phrase. If u want more details on this I can send it to you.</description>
      <pubDate>Wed, 19 Jun 2002 18:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748152#M834221</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-06-19T18:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748153#M834222</link>
      <description>In essence, the answer is no as long as the customer has root access. If you want a secure solution, I suggest that you look into a product called 'Shell-lock' from these guys:&lt;BR /&gt;&lt;A href="http://www.cactus.com/" target="_blank"&gt;http://www.cactus.com/&lt;/A&gt;&lt;BR /&gt;It's not free but it's not terribly expensive either. It converts your shell script into a standalone executable.&lt;BR /&gt;&lt;BR /&gt;If you had chosen Perl, I would have an answer for you. You could use the Filter module with a custom encrypt/decrypt routine. You could put in a few lines of plainttext in your script. (Copyrights, Version Numbers, ....) and then everything after the use Filter statement is encrypted data but is still executable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jun 2002 18:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748153#M834222</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-19T18:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting shell file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748154#M834223</link>
      <description>If I read your question correctly, you want to encrypt the script, but have so that it is still executable on your customers system.  Is that correct?&lt;BR /&gt;&lt;BR /&gt;If so, I know of no way to do this.  Some options you have are to rewrite the script in C, and compile it.  I believe PERL also has options to compile programs as well.  That could also be an option.</description>
      <pubDate>Wed, 19 Jun 2002 18:12:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-shell-file/m-p/2748154#M834223</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-06-19T18:12:48Z</dc:date>
    </item>
  </channel>
</rss>

