[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Outstanding question - rule on cleartext signing last line
On Mon, Dec 26, 2005 at 05:03:59PM +0000, Ben Laurie wrote:
> I have just tested GPG yet again, and cleartext signatures of two files,
> one without a newline at the end, and one with, look identical:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> test
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (FreeBSD)
Yepp, that's a bug in GPG and it does not follow from the spec. My
implementation does not do that. In my opinion, the correct behavior would
be reversible.
The output of gpg --clearsign should be identical to that converted from the
output of gpg -ts.
--
Daniel