all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daiki Ueno <ueno@unixuser.org>
Cc: ding <ding@gnus.org>, emacs-devel@gnu.org
Subject: Re: Patch: Show signature state in encrypted messages using pgg
Date: Sun, 12 Nov 2006 09:28:23 +0900	[thread overview]
Message-ID: <59350f81-0e9a-4619-b46c-6e8bd1562c6d@well-done.deisui.org> (raw)
In-Reply-To: <m2d57tmz7w.fsf@kenny.sha-bang.de> (Sascha Wilde's message of "Sat, 11 Nov 2006 22:48:35 +0100")

>>>>> In <m2d57tmz7w.fsf@kenny.sha-bang.de> 
>>>>>	Sascha Wilde <wilde@sha-bang.de> wrote:
> Daiki Ueno <ueno@unixuser.org> wrote:
> >> > The attached patch extends the message a bit, so that it shows the
> >> > signature verification result in addition.  With it a encrypted but
> >> > unsigned mail shows:
> >> > [[[PGP Encrypted Part:OK, Signer: From unknown user]]
> >
> > Is there still any chance for such a feature enhancement to get into the
> > release?  Anyway,

> No, I don't think so, but I think that:
> 1. There is a chance to get it into gnus CVS

If so, you should make a patch to the Gnus trunk, I think.

> Yes, this might be a problem indeed -- but as far as I can see from a
> quick glance over the source mm-uu-pgp-encrypted-extract-1 is only
> used for "application/x-gnus-pgp-encrypted" which seems quite non
> standard and which I haven't knowingly encountered in real live --
> which would explains why I haven't noticed the glitch in my patch...

You are appearantly missing that Gnus set
application/x-gnus-pgp-encrypted for traditional inline PGP messages.  I
agree these messages are "quite non standard".

> Anyway how about something along the lines of 

> ;;; untested:
> (progn
>   (mml2015-clean-buffer)
>   (funcall (mml2015-clear-decrypt-function))
>   (eq t
>       (compare-strings "OK" nil nil
> 		       (mm-handle-multipart-ctl-parameter mm-security-handle
> 							  'gnus-info)
> 		       nil 2)))

> this should fix it.

At least XEmacs 21.4 does not have compare-strings.  BTW, why do you
tend to spread your kludge here and there?  Why not use some other
parameters such as 'gnus-details instead?
-- 
Daiki Ueno

  reply	other threads:[~2006-11-12  0:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10 22:30 Patch: Show signature state in encrypted messages using pgg Sascha Wilde
2006-11-10 22:31 ` Sascha Wilde
2006-11-11  2:19   ` Daiki Ueno
2006-11-11 21:48     ` Sascha Wilde
2006-11-12  0:28       ` Daiki Ueno [this message]
2006-11-12 11:05         ` Sascha Wilde
2006-11-12 11:09           ` David Kastrup
2006-11-12 11:47             ` Sascha Wilde
2006-11-12 12:31               ` Daiki Ueno
2006-11-12 14:22                 ` Sascha Wilde
2006-11-12 14:42                   ` Daiki Ueno
2006-11-12 15:01                     ` Sascha Wilde
2006-11-12 13:26           ` Reiner Steib

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=59350f81-0e9a-4619-b46c-6e8bd1562c6d@well-done.deisui.org \
    --to=ueno@unixuser.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.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.