To reproduce:
- Use gpgex to select a binary file to encrypt (e.g. c:\Program
Files\Gnu\gnupg\gpg.exe )
- In the kleopatra Dialog select -> Archive
- OpenPGP Encrypt to yourself.
- Decrypt
-> File is corrupted.
Sha1sums differ and the file size differs.
I've tested this with gpg4win 2.2.0 to rule out a regression in recent encoding
and error handling fixes for gpgtar. But this also occurs with the current
master of gpg4win.
Inspecting the binaries shows that the last 512 bytes are not written to after
decryption.
Tested this on Windows 8.1 and Windows 7.
The problem does not occur with short text files.