textmode encryption strips trailing blanks
dshaw at jabberwocky.com
Sat Jul 23 20:05:27 CEST 2005
On Sat, Jul 23, 2005 at 08:56:17AM -0700, Tracy D. Bossong wrote:
> I encrypt data files that are to be loaded onto a
> OS/390 mainframe that need to be fixed block files
> (there are trailing blanks/spaces). These are removed
> by gpg 1.4.1 (WIN32). This does not happen with
> McAfee e-Business Server v8.0 for Windows. The only
> sequence I was able to get them to remain was adding
> --rfc1991 to the encryption, but I believe that
> disables the textmode option. Is this a bug that will
> be remedied in v1.4.2?
You've been caught by a recent change in the OpenPGP specification.
To get what you want, set --no-rfc2440-text as well as --textmode.
In a future version of GnuPG, --no-rfc2440-text will be the default.
More information about the Gnupg-devel