bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13465: 24.3.50; mml attached gpg signature filename convention


From: Glenn Morris
Subject: bug#13465: 24.3.50; mml attached gpg signature filename convention
Date: Wed, 16 Jan 2013 17:35:15 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Milan Santosi wrote:

> I've been exchanging signed emails using Emacs recently and noticed that
> unlike others (non-emacsers), the filename of my attached signature is
> always "noname" instead of "signature.asc".
>
> Help from #emacs on freenode leads me to line 719 in rmailmm.el where I
> find the "noname" hardcoded. Shouldn't this read "signature.asc"
> instead (which seems conventional)?

Are you asking for mml-secure-sign to use:

  Content-Type: application/pgp-signature; name="signature.asc"

rather than the current:

   Content-Type: application/pgp-signature

in what it sends out; or for Rmail to default to a filename of
"signature.asc" rather than "noname" for an application/pgp-signature
entity that does not specify a filename?


*** lisp/gnus/mml2015.el        2013-01-02 16:13:04 +0000
--- lisp/gnus/mml2015.el        2013-01-16 22:32:25 +0000
***************
*** 1069,1075 ****
      (insert (format "\n--%s\n" boundary))
      (goto-char (point-max))
      (insert (format "\n--%s\n" boundary))
!     (insert "Content-Type: application/pgp-signature\n\n")
      (insert signature)
      (goto-char (point-max))
      (insert (format "--%s--\n" boundary))
--- 1069,1075 ----
      (insert (format "\n--%s\n" boundary))
      (goto-char (point-max))
      (insert (format "\n--%s\n" boundary))
!     (insert "Content-Type: application/pgp-signature; 
name=\"signature.asc\"\n\n")
      (insert signature)
      (goto-char (point-max))
      (insert (format "--%s--\n" boundary))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]