unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Milan Santosi <milan.santosi@gmail.com>
Cc: 13465@debbugs.gnu.org
Subject: bug#13465: 24.3.50; mml attached gpg signature filename convention
Date: Wed, 16 Jan 2013 17:35:15 -0500	[thread overview]
Message-ID: <ay8v7s7o4c.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87pq15c4iz.fsf@192.168.178.51.i-did-not-set--mail-host-address--so-tickle-me> (Milan Santosi's message of "Wed, 16 Jan 2013 20:27:16 +0100")

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	other threads:[~2013-01-16 22:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 19:27 bug#13465: 24.3.50; mml attached gpg signature filename convention Milan Santosi
2013-01-16 22:35 ` Glenn Morris [this message]
2013-01-17  6:14   ` Milan Santosi
2013-01-17  6:39     ` Glenn Morris
2013-05-06  7:17   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ay8v7s7o4c.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13465@debbugs.gnu.org \
    --cc=milan.santosi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).