urgent gpg help needed with regards to file size.

Alan Olsen aolsen at standard.com
Thu Mar 20 17:27:27 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


>From: gnupg-users-bounces at gnupg.org [mailto:gnupg-users-bounces at gnupg.org] On Behalf Of khurram.humayun
>Sent: Wednesday, March 19, 2008 8:45 AM
>To: gnupg-users at gnupg.org
>Subject: urgent gpg help needed with regards to file size.

>i also know i am using the correct public key because they are in each case are able to decrypt the last file (the smallest size. of course they used to be >able to decrypt all the other large size files as well till now)

How are you transporting the files?  If you are using FTP you need to make sure you use BINARY mode for the transfer or it will do nasty things to the file.  (You can also encode the data with ascii armor and it will prevent FTP from mangling the data.)

>in addition when i run my script 2 times each time it gives different results except for the last file generated in each case. 

Gpg compresses the files as part of the encryption process.

Another thing is if the file is bigger than about 2 gigs or so, older Oses that do not handle large files may truncate the data.


-----BEGIN PGP SIGNATURE-----
Version: 9.5.3 (Build 5003)

wsBVAwUBR+KQeWqdmbpu7ejzAQqxDwf+N3rbm7/CvN+e6XSebopYAdINezi3ZTYs
fQZwqSNJYU+LnvCZUmIOw/zziUFsehM9Oiaw8W7molGW9Whq3NL3Mb4rqoYmmUuO
EEu4UPK1AMojeVIFa7hxTo9jXEJI8imig1k66JKVek+cWIH11UmdbV/nlhgAfjhO
aUiJ2SWbn4UMmL+dahze5xpq7aCufL1qELvmBLFzRLIezmi3Dj5yAmcYglqwPGgJ
Lfr/NE2xRTcKdthZ5EMQjlsUZGKHui9F/Ul5HRofq2Nd70A0qKrXzL87cIaabyHN
W8AcNM5ivmf/nN8ORAHLFGVKbQKoBQBLm+g2k4MJvC/GzF1RyuOzpA==
=GKRM
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list