encrypt multiple files into one singlefile and then decrypt back the original multipe files

David Shaw dshaw@jabberwocky.com
Wed Oct 2 02:14:02 2002

On Tue, Oct 01, 2002 at 03:52:31PM -0700, Doug Gorley wrote:
> > 
> >   zip - file1 file2 file3 file4 file5 | gpg -eat > outfile.zip.asc
> > 
> Interesting.  I'm trying to do this using tar and gzip instead of zip,
> but I'm running into some trouble.  The command I'm trying is:
>   tar -cz *.jpg | gpg -eatr douggorley > files.tar.gz.asc
> Everything appears to work correctly, but once I decrypt the file,
> gunzip won't recognise it.  Any ideas?

The 't' in your gpg command line means "textmode".  A tarball isn't
text, so remove the 't'.


   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson