v1.4.8 --textmode incompatible with earlier versions

David Shaw dshaw at jabberwocky.com
Sat Mar 8 14:46:31 CET 2008


On Mar 8, 2008, at 4:18 AM, Timo Sirainen wrote:

> When signing data with spaces at the end of lines with --textmode (and
> -a -b --sign), v1.4.8 generates signatures that older releases  
> verify as
> BAD, and vice versa.
>
> I can't seem to find anything related to this with googling or from  
> NEWS
> or ChangeLog file. Was it changed accidentally? Will this get fixed
> again in future versions, or should I just stop using --textmode for  
> my
> emails?

This is not a bug.  There was a "buglet" in the original OpenPGP  
specification around text canonicalization.  GnuPG follows the updated  
spec (RFC-4880) now.  To revert to the older spec, use the "--rfc2440- 
text" for this specific issue, or "--rfc2440" for a full reversion.

David



More information about the Gnupg-users mailing list