ietf-openpgp
[Top] [All Lists]

Re: [Fwd: [PGP-USERS] Word Wrap Problems with PGP 9.0.3]

2005-12-08 03:56:23

On Thu, Dec 08, 2005 at 09:52:52AM +0000, Ian G wrote:

(I never did see a resolution to that question?
What then was the rule on the last newline?)

In order for the cleartext signed message to verify, there is no need to add
another newline; the standard allows for text messages where the last line
is not terminated. GPG actually REMOVES the last newline, if the input comes
from the console, in order to allow for cleartext messages with an
unterminated last line. I like this feature a lot.

If terminating the last newline is not required, then one-pass signed and
clearsigned text messages can be converted back-and-forth without access to
the secret key (or any cryptography, for that matter). I think this feature
is worth preserving.

Thus, I propose not requiring the termination of the last line (and not
terminating it automagically).

-- 
Daniel