Gnus development mailing list
 help / color / mirror / Atom feed
From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: Accepting x-pkcs7-signature
Date: Fri, 23 Jul 2010 12:32:24 +0200	[thread overview]
Message-ID: <m2eieutrnr.fsf@randomsample.de> (raw)
In-Reply-To: <m3hbjqlgub.fsf-ueno@unixuser.org> (Daiki Ueno's message of "Fri, 23 Jul 2010 17:53:16 +0900")

Daiki Ueno writes:
> David Engster <deng@randomsample.de> writes:
>> Does anyone see a problem with this patch?
>
> I admittedly have not tested it yet, but:
>
>> --- mml-smime.el.~7.23.~	2008-05-19 10:47:42.000000000 +0200
>> +++ mml-smime.el	2008-09-17 11:56:12.000000000 +0200
>> @@ -520,10 +520,14 @@
>>  					   ctl 'protocol)
>>  					  "application/pkcs7-signature")
>
> ^^ this line should also be changed to accept "x-pkcs7-signature"?

The full sexp is this:

 (setq part (mm-find-raw-part-by-type
				  ctl (or (mm-handle-multipart-ctl-parameter
					   ctl 'protocol)
					  "application/pkcs7-signature")
				  t)))

So I thought this would just be used as a fallback?

BTW, since I'm slowly migrating from openssl to gpgsm and therefore
GnuPG v2, I hope you don't mind me hijacking this thread and asking some
further questions regarding EPG. I have an encrypted authinfo.gpg file,
containing several different credentials for different servers. Since
gpgsm requires me to use gpg-agent, decrypting authinfo.gpg at startup
is now handled using the agent, since EPG will automatically detect that
there's one running.

Without the agent and GnuPG v1, I was only asked once at start-up for
the password (using epa-file-cache-passphrase-for-symmetric-encryption),
now I get queried for each server I might(!) need credentials for. Is
there some way to avoid that? I know I could somehow use public key
encryption for this, but to me this seems a bit excessive for such a
small task. I'd already be happy if I could get EPG to just use gpgv1
without the agent for encrypted files, but it seems this is not
possible?

Also, do you know of any way to let Emacs communicate with one of
gpg-agent's pinentry programs? I found a message from you regarding that
issue from '08, so I wonder if you made any progress on that front.

Regards,
David



  reply	other threads:[~2010-07-23 10:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 21:11 David Engster
2010-07-23  8:53 ` Daiki Ueno
2010-07-23 10:32   ` David Engster [this message]
2010-07-23 14:57     ` Daiki Ueno
2010-07-23 18:13       ` David Engster
2010-07-24  1:21         ` Daiki Ueno

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=m2eieutrnr.fsf@randomsample.de \
    --to=deng@randomsample.de \
    --cc=ding@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.
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).