--clearsign with file containing --

Todd Todd <Freedom_Lover@pobox.com>
Tue Mar 18 18:32:01 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

5468696A6D656E wrote:
> As you can see, gpg altered the input and prepended a "-" character.
>
> Is there any way i can prevent gpg of altering the input data?
> Why is it doing it anyway? I dont want to use --sign in this particular
> case, only --clearsign suits my need.

- From the fine manual:

       --not-dash-escaped
                 This option changes the  behavior  of  cleartext
                 signatures  so  that  they can be used for patch
                 files. You should not send such an armored  file
                 via  email  because  all spaces and line endings
                 are hashed too.  You can not use this option for
                 data  which  has  5 dashes at the beginning of a
                 line, patch files don't  have  this.  A  special
                 armor header line tells GnuPG about this cleart=AD
                 ext signature option.

It's not something you want to use except for patch files, basically.  I
don't think any OpenPGP apps other than gpg handle it correctly.  Perhaps
someone else can tell you for sure about that.

- --=20
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/=
pgp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
The trouble with opportunity is that it always comes disguised as hard wo=
rk.
    -- Herbert V. Prochnow

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE+d1g1uv+09NZUB1oRApyaAJwLAlVXHKK6z1bbNNr1HTc2RN7SggCcCgLe
5sGnYFMX5b7mvpTZhDgaRg0=3D
=3D6d04
-----END PGP SIGNATURE-----