GnuPG and trailing whitespace handling

Russ Allbery rra at stanford.edu
Sat Mar 6 21:29:42 CET 1999


Bodo Moeller <Bodo_Moeller at public.uni-hamburg.de> writes:

> When creating text-mode signatures, OpenPGP implementations that want to
> be compatible with PGP should remove any trailing blanks (they are not
> protected by the signature, so why keep them).  This is not possible for
> detached signatures, but for detached signatures it usually makes more
> sense to use binary mode, anyway.

For signing and verifying signatures of news articles, such as control
messages, one definitely does want to use text mode; it cuts down on a lot
of different problems related to line endings and so forth.

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>




More information about the Gnupg-devel mailing list