urgent gpg help needed with regards to file size.
aolsen at standard.com
Thu Mar 20 17:27:27 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
>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)
-----END PGP SIGNATURE-----
More information about the Gnupg-users