[Bug 1007094] Re: "gpg --clearsign" does not create the "-----END PGP SIGNED MESSAGE-----" tag

Raubvogel 1007094 at bugs.launchpad.net
Thu May 31 20:48:15 UTC 2012


I see your point. What initially confused me is that I received a pgp message from launchpad (confirming registration of an
OpenPGP key for use in Launchpad) that looked like this:

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.10 (GNU/Linux)

hQEMA6xYi9qZ9bGeAQf+Mi0gsfGNiR9Deh6NaN/32ap25Qy4XKT8z6/eP9n0qVsv
SraSDAhSH5p/QfCRApkvnYJ6UoX/xksIYjIx/bwBSYd1SqgiwOIqF6HMrtgoH14N
[...]
lUhWtaRWlqeQxf2gRODwC2Q+soJeatcJJ2HNDFEyrnyLU+/OMZufYaZe1HewQl8/
786Kf7r+cKqwZEVko9KUVUfBiXUj
=2CxK
-----END PGP MESSAGE-----

That and the fact that signatures are enclosed by "-----BEGIN PGP
SIGNATURE-----" and "-----END PGP SIGNATURE-----" made me believe that
by consistency's sake the same would happen with the PGP SIGNED MESSAGE
tag. I guess we need to ask the author...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/1007094

Title:
  "gpg --clearsign" does not create the "-----END PGP SIGNED
  MESSAGE-----" tag

Status in “gnupg” package in Ubuntu:
  New

Bug description:
  Input file:

  raub at ubuntu86:/tmp$ cat pickles
  Hey there!

  Think of the metaphysical consequences!
  Banana banana banana!
  raub at ubuntu86:/tmp$ 

  Now, run gpg --clearsign pickles, creating pickles.asc. And then see
  its contents:

  raub at ubuntu86:/tmp$ cat pickles.asc 
  -----BEGIN PGP SIGNED MESSAGE-----
  Hash: SHA1

  Hey there!

  Think of the metaphysical consequences!
  Banana banana banana!
  -----BEGIN PGP SIGNATURE-----
  Version: GnuPG v1.4.11 (GNU/Linux)

  iQEcBAEBAgAGBQJPx8l7AAoJECyBIzVoGuw2hG0H+gM8iv33q2g21MDlbNXb8nKt
  SdKxkBA6XYF5jC6mXanlG0FeOkAqW4nJgWTC3p3AcsKWVrP+IZY3ok1F+cSKXDrW
  a2r1Yu0EojrS0cP29+bSB6gQqKu8yPpsyc11Hc3RGXzNdTIzlUBTK444ND6la13U
  z2Nhdgz9lsefla02ESayx0+zZMQ1h1wR77VGcXnBx/yQwePEkX8a/ieQJ7Vp6ts4
  w/FZJlY4GQDzWLQJc1lafHPVaA4JXok5i4hNvfHpIAaId3mINDt17dXbBtmPC/1D
  Le92XgGiq4qu6/FpfLcXkX8xcHGq+a8zxuyY4/NNTREX7/EyfYsXE0hwsld2IVs=
  =jb46
  -----END PGP SIGNATURE-----
  raub at ubuntu86:/tmp$

  As you can see, no "-----END PGP SIGNED MESSAGE-----" tag present.

  raub at ubuntu86:/tmp$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 11.10
  Release:        11.10
  Codename:       oneiric
  raub at ubuntu86:/tmp$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/1007094/+subscriptions




More information about the foundations-bugs mailing list