ietf-openpgp
[Top] [All Lists]

Re: Outstanding question - rule on cleartext signing last line

2005-12-26 10:00:19

On Mon, Dec 26, 2005 at 04:20:28PM +0000, Ian G wrote:

So, does this output as a line terminated
string or as an unterminated string? :

 -----BEGIN PGP SIGNED MESSAGE-----

 my signed text
 -----BEGIN PGP SIGNATURE-----
 xxxxx
 -----END PGP SIGNATURE-----

Sorry, I did not answer this in my earlier mail.  This is output as an
unterminated string.  If you wanted it to be output as a terminated
string, you'd have generated this:

 -----BEGIN PGP SIGNED MESSAGE-----

 my signed text

 -----BEGIN PGP SIGNATURE-----
 xxxxx
 -----END PGP SIGNATURE-----

Note the blank line between "my signed text" and the BEGIN PGP
SIGNATURE.

David