Space-padded lines in crypt-text

David Shaw dshaw at
Tue Mar 26 01:27:01 CET 2002

> >Why does text copied out of an email grow extra spaces?

On Wed, Mar 20, 2002 at 01:42:00PM -0500, Dave Hill wrote:
> David,
> Eudora and Netscape users on our lan receive email from Outlook as HTML when
> they connect using IMAP.  This happens regardless of any plain-text settings
> at the sender, server, or receiver software.  When HTML text from these apps
> is copied to the Windoze clipboard, it ends up space padded.  I haven't been
> able to figure out whether this is a problem in the client apps, or the
> Windoze clipboard implementation, although if I had to make a guess...
> Unfortunately, this breaks GPGShell, which I've been setting up for non-tech
> types to be able to decrypt PGP email.  I thought that rather than come up
> with an ugly hack elsewhere, and since I'm unlikely to get MS to fix their
> clipboard, GnuPG would be the right place to look for a clean fix.

FYI, after some discussion with Werner, and in the interests of "be
liberal in what you accept, conservative in what you generate", I
changed the code in GnuPG 1.0.7 to permit extra spaces on the armor
header lines.  The --openpgp flag makes this strict again.


   David Shaw  |  dshaw at  |  WWW
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson

More information about the Gnupg-devel mailing list