[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: Encrypt/decript large files
From:       David Shaw <dshaw () jabberwocky ! com>
Date:       2003-06-30 15:26:34
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jun 30, 2003 at 10:37:49AM -0400, Michael Young wrote:
> Sorry about the bogus subject line on my first reply.
> 
> > From: Eric Harlow <linuxgeek@yahoo.com>
> ...
> > type file.bak | gpg -o output.gpg --encrypt
> 
> My initial guess was that you were seeing mod-2^32 truncation, but
> after fiddling with the Windows "type" program, it appears that it truncates
> binary files (most likely because it is line-oriented).  In any case,
> "type ... |" just isn't a reliable way to deal with large, binary input.

That was my error.  I suggested 'type' as an alternative to the Unix
'cat' (which of course works with binary data).

Eric, please try this:

  gpg -o output.gpg --encrypt < thebigfile

If the problem is in fact large file support (which it looks like it
is), then getting the data via stdin like this should be a workaround.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3rc1 (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc

iD8DBQE/AFaq4mZch0nhy8kRAmCjAKC7Q0rrQs8G3g3Erng7v+juw6G1TQCfZTWo
ZTT01kzI3xtw3tpoZJz94zo=
=YGmp
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic