On Sun, Jul 03, 2005 at 10:54:07PM +0200, [EMAIL PROTECTED] wrote:
> Hi list,
> 
> I'm using GnuPG 1.4.1 on WinXP Service Pack 2. Whenever I --clearsign a text
> message containing some kind of list, dash characters get duplicated. Is
> that a feature or bug? See yourself ...

As you can see OpenPGP use lines beginning with dashes to separate 
parts of the message. To avoid the risk for ambiguity any line 
beginning with a dash is escaped with a "- " tis is removed when 
the message is verified.

HTH
//Samuel

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> - - A dash followed by a space character at the beginning of the line as it
> is commonly used in enumerations produces an extra dash.
> 
> - -Second test with a dash and no whitespace in between yields the same
> result.
> 
> - -   Third test with a dash and a tab character has the same effect.
> 
>  - Fourth test with a space character followed by a dash character.
> 
>       - Fith test with a tab character followed by a dash character.
> 
> Lastly a dash anywhere inside the text like this one - isn't duplicated.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> 
> iD8DBQFCyEwoF64dOS3//CwRAp/SAJ9kgz6GyNx/Fzk/aap85N8jWyVHfACfd1a5
> xTdO4Ue2fWP3VU2sDvKdhbA=
> =FZy1
> -----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to