<?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: Zip a file with Password encryption in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029223#M104462</link>
    <description>&lt;P&gt;&amp;gt; We are running on Zip version 2.3. [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; This one?:&lt;BR /&gt;&lt;BR /&gt;ITS $ mcr []zip.IA64_exe -v&lt;BR /&gt;[...]&lt;BR /&gt;This is Zip 2.3 (November 29th 1999), by Info-ZIP.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Many things have happened since 1999, many of them good.&amp;nbsp; Zip 3.0&lt;BR /&gt;would almost certainly be a better choice.&amp;nbsp; Among other things, its&lt;BR /&gt;extended help ("zip -h2") includes:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; -e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use standard (weak) PKZip 2.0 encryption, prompt for password&lt;BR /&gt;&amp;nbsp; -P pswd&amp;nbsp;&amp;nbsp; use standard encryption, password is pswd&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Before that, "-P" was intentionally not documented because it was&lt;BR /&gt;considered such a bad idea to use it (and store the password) in a&lt;BR /&gt;script.&amp;nbsp; (Now we don't care what you do, and we got tired of people&lt;BR /&gt;asking for/about the undocumented option.)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Also, back in 1999, there was a separate "crypt" source kit, which&lt;BR /&gt;was required to enable the latent encryption capabilities in both&lt;BR /&gt;programs.&amp;nbsp; If your (fossil) Zip 2.3 was built without it, then you can&lt;BR /&gt;expect a result like:&lt;BR /&gt;&lt;BR /&gt;ITS $ mcr []zip.IA64_exe -e -P password enc.zip zip.c&lt;BR /&gt;&lt;BR /&gt;zip error: Invalid command arguments (encryption not supported)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Note that what we now call Traditional zip encryption is not&lt;BR /&gt;considered very good these days.&amp;nbsp; (No currently released Zip/UnZip&lt;BR /&gt;version supports AES encryption, but there's still some hope for beta&lt;BR /&gt;3.1/6.1 versions before we're all dead.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ zip&lt;BR /&gt;&amp;gt; Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.&lt;BR /&gt;&amp;gt; Zip 2.32 (June 19th 2006). Usage: zip=="$disk:[dir]zip.exe"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "Zip version 2.3" is even older/worse than "Zip 2.32".&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://infozip.sourceforge.net/" target="_blank"&gt;http://infozip.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="ftp://ftp.info-zip.org/pub/infozip/src/" target="_blank"&gt;ftp://ftp.info-zip.org/pub/infozip/src/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 15:14:45 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2018-12-21T15:14:45Z</dc:date>
    <item>
      <title>Zip a file with Password encryption</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029163#M104458</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are running on Zip version 2.3. In help I dont see options to zip with Password encrypt, but in one of the old forums i saw that zip -p works even though its not documented.&lt;/P&gt;&lt;P&gt;Can anyone help witht the syntax for the same? and if password encrypt is really available on this version?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 03:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029163#M104458</guid>
      <dc:creator>Sailekha</dc:creator>
      <dc:date>2018-12-21T03:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Zip a file with Password encryption</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029189#M104459</link>
      <description>&lt;P&gt;For encryption&amp;nbsp;-e and -P are supported in an old 2.nn version, which I tried. The option -p explicitly requests to include relative file paths, which is the default, anyway.&lt;/P&gt;&lt;PRE&gt;$ zip
Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.
Zip 2.32 (June 19th 2006). Usage: zip=="$disk:[dir]zip.exe"
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
...&lt;/PRE&gt;&lt;PRE&gt;$ zip -P your-password x.zip login.com
  adding: LOGIN.COM (deflated 37%)
$ &lt;/PRE&gt;&lt;P&gt;For VMS the usual applies: it works this way if you have extended parsing enabled, otherwise you need to quote the uppercase option and the password, if that contains uppercase letters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 09:19:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029189#M104459</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2018-12-21T09:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zip a file with Password encryption</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029223#M104462</link>
      <description>&lt;P&gt;&amp;gt; We are running on Zip version 2.3. [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; This one?:&lt;BR /&gt;&lt;BR /&gt;ITS $ mcr []zip.IA64_exe -v&lt;BR /&gt;[...]&lt;BR /&gt;This is Zip 2.3 (November 29th 1999), by Info-ZIP.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Many things have happened since 1999, many of them good.&amp;nbsp; Zip 3.0&lt;BR /&gt;would almost certainly be a better choice.&amp;nbsp; Among other things, its&lt;BR /&gt;extended help ("zip -h2") includes:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; -e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use standard (weak) PKZip 2.0 encryption, prompt for password&lt;BR /&gt;&amp;nbsp; -P pswd&amp;nbsp;&amp;nbsp; use standard encryption, password is pswd&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Before that, "-P" was intentionally not documented because it was&lt;BR /&gt;considered such a bad idea to use it (and store the password) in a&lt;BR /&gt;script.&amp;nbsp; (Now we don't care what you do, and we got tired of people&lt;BR /&gt;asking for/about the undocumented option.)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Also, back in 1999, there was a separate "crypt" source kit, which&lt;BR /&gt;was required to enable the latent encryption capabilities in both&lt;BR /&gt;programs.&amp;nbsp; If your (fossil) Zip 2.3 was built without it, then you can&lt;BR /&gt;expect a result like:&lt;BR /&gt;&lt;BR /&gt;ITS $ mcr []zip.IA64_exe -e -P password enc.zip zip.c&lt;BR /&gt;&lt;BR /&gt;zip error: Invalid command arguments (encryption not supported)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Note that what we now call Traditional zip encryption is not&lt;BR /&gt;considered very good these days.&amp;nbsp; (No currently released Zip/UnZip&lt;BR /&gt;version supports AES encryption, but there's still some hope for beta&lt;BR /&gt;3.1/6.1 versions before we're all dead.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ zip&lt;BR /&gt;&amp;gt; Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.&lt;BR /&gt;&amp;gt; Zip 2.32 (June 19th 2006). Usage: zip=="$disk:[dir]zip.exe"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "Zip version 2.3" is even older/worse than "Zip 2.32".&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://infozip.sourceforge.net/" target="_blank"&gt;http://infozip.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="ftp://ftp.info-zip.org/pub/infozip/src/" target="_blank"&gt;ftp://ftp.info-zip.org/pub/infozip/src/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-a-file-with-password-encryption/m-p/7029223#M104462</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2018-12-21T15:14:45Z</dc:date>
    </item>
  </channel>
</rss>

