large file support in Win32

Ryan Malayter ryan at malayter.com
Mon Sep 26 15:18:30 CEST 2005


On 9/26/05, Werner Koch <wk at gnupg.org> wrote:
> Cross compiling using a Debian system will for sure be easier.  I have
> uploaded an upx packed gpg binary for testing:

It looks like this is working well... thanks Werner! See the
transcript of my test below. I created a different ~4.5 GB file for
testing (the 45 GB file took too long).

Do you think I need to do the same testing with a compressible file?

- - - - - - - - - - - - -
C:\>gpg --version
gpg (GnuPG) 1.4.3-cvs
<snip>

C:\>dir e:\myfile.dat

09/26/2005  05:49 AM     4,697,620,480 myfile.dat

C:\>gpg -vv -c -z 0 --cipher-algo AES -o c:\temp\myfile.dat.gpg e:\myfile.dat
gpg: using cipher AES
gpg: writing to `c:\temp\myfile.dat.gpg'

C:\>gpg -vv -d -o e:\myfile2.dat c:\temp\myfile.dat.gpg
:symkey enc packet: version 4, cipher 7, s2k 3, hash 2
        salt 56008c37ea561c64, count 96
gpg: AES encrypted data
:encrypted data packet:
        length: unknown
        mdc_method: 2
gpg: encrypted with 1 passphrase
:literal data packet:
        mode b (62), created 1127739087, name="myfile.dat",
        raw data: unknown length
gpg: original file name='myfile.dat'
:mdc packet: length=20
gpg: decryption okay

C:\>gpg --print-md sha1 e:\myfile.dat
e:\myfile.dat: D494 D886 6589 96C3 B7DF  F446 D9A3 80BD 6B37 ECAB

C:\>gpg --print-md sha1 e:\myfile2.dat
e:\myfile2.dat: D494 D886 6589 96C3 B7DF  F446 D9A3 80BD 6B37 ECAB


--
   RPM
=========================
All problems can be solved by diplomacy, but violence and treachery
are equally effective, and more fun.
      -Anonymous



More information about the Gnupg-devel mailing list