Page MenuHome GnuPG

Decrypt action modifies last byte of Unicode file (00 to FF)
Closed, ResolvedPublic

Description

Release: 2004-09-09

Environment

W2k NT4 / gpg.exe v1.2.1-5

Description

After decryption of a unicode file that ends with single CR LF (4 bytes under unicode), the last byte is changed from 00 (original) to FF (decrypt). (See attached file). Strange however is that adding another CR LF (= 0D 00 0A 00) avoids this effect.
I didn't check on other filetypes to see if this really only affects unicode files or not.

How To Repeat

To repeat this symtom, encrypt the test1.txt file with GnuPG or PGP and decrypt it again with gpg.exe on the commandline.

Fix

gee, if i knew.

Event Timeline

dshaw added a subscriber: dshaw.

User error.