GnuPG altering text when signing

Werner Koch wk@gnupg.org
Fri, 18 Aug 2000 10:21:20 +0200


On Thu, 17 Aug 2000, David Turley wrote:


> When I clearsign a text file, any lines in the text that start with a dash "-"
> get prepended with another dash and a space.
>
> So "-hello" gets changed to "- -hello"
>
> Why is this?
That is per specs. If you run gpg without the --verify command it will decode the clearsigned message for you. The reason for the escaping is that dashed lines are special markers and therefore it helps the parser to escape all lines starting with a dash by a "- ".
> Please CC me in any replies. I haven't found the intructions for subscribing
> (which I want to do.)
www.gnupg.org/docs.html (see under mailing lists there) Werner -- Werner Koch GnuPG key: 621CC013 OpenIT GmbH http://www.OpenIT.de -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org