Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Subject: Re: Feature request: "Security" feature
Date: 30 Nov 2000 22:06:13 -0500	[thread overview]
Message-ID: <v1tr93ssuvu.fsf@maru.rem.cs.cmu.edu> (raw)
In-Reply-To: <2n4s0pylob.fsf@tiger.jia.vnet>

ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Raja R Harinath <harinath@cs.umn.edu> writes:
> 
> > Hi,
> > 
> > It would be nice if the buttons, introduced in the article buffer by
> > the "gnus-*-verify-*" functions, had some useful action -- like
> > showing the output of the underlying program.
> > 
> > Say, you have the button
> > 
> >   [[PGP Verified: OK]]
> > 
> > Clicking on it would produce:
> > 
> >   [[PGP Verified: OK]
> >   Good Signature from: John Q. Signer <jqs@foo.com>
> >   No trust path established.
> >   ]
> > 
> > If we don't pay attention to the status bar while it's verifying, we
> > lose this information (looking at *Messages* is more painful than
> > clicking a button in the article).
> 
> The problem is how to capture those messages from mailcrypt or gpg.el.
> Anyone knows?

I don't know about mailcrypt, but capturing the information from
gpg.el looks quite easy.  In `mml2015-gpg-verify', the `gnus-details'
handle gets set to this information, but only if the signing failed!
If you move the clause:
            (mm-set-handle-multipart-parameter 
             mm-security-handle 'gnus-details 
             (with-current-buffer mml2015-result-buffer
               (buffer-string)))
out of the unless, you should get what you want for free.

-- 
Michael Duggan
(md5i@cs.cmu.edu)



  reply	other threads:[~2000-12-01  3:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-23 10:07 [PATCH] Expiry-target for nnmh janneke
2000-11-23 15:21 ` Kai Großjohann
2000-11-30  1:50 ` ShengHuo ZHU
2000-11-30 19:40 ` Feature request: "Security" feature Raja R Harinath
2000-12-01  1:28   ` ShengHuo ZHU
2000-12-01  3:06     ` Michael Welsh Duggan [this message]
2000-12-01  4:22       ` ShengHuo ZHU
2000-12-01  3:06   ` Kevin A. Burton

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=v1tr93ssuvu.fsf@maru.rem.cs.cmu.edu \
    --to=md5i@cs.cmu.edu \
    /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.
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 NNTP newsgroup(s).