all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 18393@debbugs.gnu.org
Subject: bug#18393: mm-view-pkcs7-verify ignores mml-smime-use
Date: Thu, 26 Sep 2019 11:04:39 +0200	[thread overview]
Message-ID: <87tv8zqvh4.fsf@wi.uni-muenster.de> (raw)
In-Reply-To: <87d0fov6kv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 25 Sep 2019 15:38:56 +0200")

On 2019-09-25, Lars Ingebrigtsen wrote:

> (setq smime-CA-file "/tmp/carldssself.pem")
>
> I get a blank article buffer.

Same here.

> [...]
> (defun mm-view-pkcs7-verify (handle)
>    ...)
>
> because this is "signed", not "enveloped".  I'm not very familiar with
> this stuff...  but the mm-view-pkcs7-verify function just verifies the
> data and doesn't return anything, which explains why I'm getting an
> empty article buffer.  But why is this ever useful?  It seems odd,
> doesn't it?
>
> Is the -verify function also supposed to return the decoded text?
> (Which is "This is some sample content.".)

Function mm-view-pkcs7-verify calls (mm-insert-part handle), which
somehow deals with the text for subsequent display.  The search for
"Content-Type" suggests that this is only meant for multi-part
e-mails, for which it really works.  In this case, however, it
inserts the text among binary data, which seems to fail subsequently.

Best wishes
Jens





  reply	other threads:[~2019-09-26  9:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zjegss2o.fsf@pcwi7557.uni-muenster.de>
2019-09-23 19:02 ` bug#18393: mm-view-pkcs7-verify ignores mml-smime-use Lars Ingebrigtsen
2019-09-24 12:35   ` Jens Lechtenboerger
2019-09-25 13:38     ` Lars Ingebrigtsen
2019-09-26  9:04       ` Jens Lechtenboerger [this message]
2019-09-26 14:26         ` Lars Ingebrigtsen
2019-09-26 14:32           ` Lars Ingebrigtsen
2019-09-27  6:09             ` Jens Lechtenboerger
2019-09-27  6:33               ` Jens Lechtenboerger
2019-09-27 13:55                 ` Lars Ingebrigtsen
2019-09-27 15:04                   ` Jens Lechtenboerger
2019-09-27 15:19                     ` Lars Ingebrigtsen
2019-09-27 18:15                       ` Jens Lechtenboerger
2019-09-28 17:55                         ` Lars Ingebrigtsen
2019-09-29  8:56                           ` Jens Lechtenboerger
2019-09-29 11:17                             ` Lars Ingebrigtsen
2019-09-30  6:43                               ` Lars Ingebrigtsen
2020-08-04 17:30                               ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87tv8zqvh4.fsf@wi.uni-muenster.de \
    --to=lechten@wi.uni-muenster.de \
    --cc=18393@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.