Re: Can I give password when gzip files?

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 04/29/05


Date: Fri, 29 Apr 2005 13:36:09 -0400


["Followup-To:" header set to comp.os.linux.]
On Thu, 28 Apr 2005 23:15:08 -0400, Ross
  <Ross@nospam.com> wrote:
> Hi there,
> Could I set a password when I am compressing a file using gzip, so that
> people need put the password when uncompressing it?
> As you know, WinZip can do this. But I don't know if/how I can do this with
> gzip.
> Thanks in advance,
> Ross
>
>
I don't see the words "password" or "crypt" in my gzip man page either.
You could gzip a file and encrypt it with gpg, or you could use zip.
If security is important, I would recommend the former as zip
encryption is known to be weak. Use the latter if you have to send the
file to friends who use Windows.

-- 
"First you deny it, then you say it's irrelevant, then you say that
Jefferson did it too.  I didn't think anybody could out-sleaze the
Clinton gang, but the the Bush gang has left them in the dust."
--Rex F. May


Relevant Pages

  • Re: NSA and crypto
    ... If you still think gzip is better to use ... You really need a bijective compress so that no information ... no concept of entropy or Unicity Distance. ... Encrypt this with AES using ...
    (sci.crypt)
  • Re: Can I give password when gzip files?
    ... >> Could I set a password when I am compressing a file using gzip, ... >> gzip. ... > You could gzip a file and encrypt it with gpg, ... > Clinton gang, but the the Bush gang has left them in the dust." ...
    (comp.os.linux)
  • umount in shell script
    ... umount /usr/tmp_mnt ... <EOF> ...
    (freebsd-questions)
  • Re: Can I give password when gzip files?
    ... > Could I set a password when I am compressing a file using gzip, ... You could gzip a file and encrypt it with gpg, ... I didn't think anybody could out-sleaze the Clinton gang, but the the Bush gang has left them in the dust." ...
    (comp.os.linux)
  • SUMMARY: gzip and rsync return /usr/sbin/: Permission denied
    ... You don't want the backquotes around the gzip commands in your script... ... The three gzips are run in the background, and the wait command waits ... for them to finish before the script continues on to do the rsync. ... echo "Compressing Dumpfile #1" ...
    (SunManagers)