PGP decryption and "built-in" integrity checking?
jerome at jeromebaum.com
Wed Nov 30 06:57:10 CET 2011
> When the recipient tries to decrypt the file, would the PGP software
> detect that there was a data integrity issue and produce an error -
> or - would it actually output a decrypted file (which I presume would
> be flawed, since the encrypted source file was missing a byte)?
Usually there will be an MDC (checksum) and that will fail. So it'll
produce an error. If you need to recover the file, you could try to
cycle the byte through all values -- 256 possibilities isn't a huge
PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
Recht: Internet-freier Raum.
No situation is so dire that panic cannot make it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 878 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users