gnupg and corrupted files
Bob Mathews
bobmath@earthlink.net
Thu Nov 14 22:02:01 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 14 November 2002 10:55, Bram Vandoren wrote:
> I want to encrypt some large backup files (650MB) and store them on a c=
dr.=20
> What will happen when there are errors on the cd? Is gnupg able to decr=
ypt=20
> the files (except the sections with an error) or are my files completly
> lost?
If the file was encrypted with no compression (--compress-algo 0 on the=20
command line), the uncorrupted parts will decrypt correctly, minus one (8=
or=20
16 byte) cipher block. I just tried this, and it works. If compression wa=
s=20
used, or the file was compressed to begin with, recovering the data after=
the=20
corruption is difficult or impossible.
If the file is signed, the signature will fail to verify, of course.
-bob mathews
-----BEGIN PGP SIGNATURE-----
iD8DBQE91BAyPgDecCrBEpcRAjHyAJ0bTE6p6rMANG0MtWleap9QQ9ssaQCgw+Oe
Z2gWu2jduXAh8hWo6OkZ7hQ=3D
=3D/Ui4
-----END PGP SIGNATURE-----