Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: S/MIME and encrypted certificates
Date: Sat, 21 Jun 2003 22:53:45 +0200	[thread overview]
Message-ID: <iluznkbjgo6.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87d6h7bf7c.fsf@gvdnet.dk>

Martin Christensen <knightsofspamalot-factotum@gvdnet.dk> writes:

> Howdy!
>
> The Info pages about message security describe that when dealing with
> S/MIME, certificates are expected to be stored in PEM format, which is
> also explained to be unencrypted. For all things OpenPGP, it happily
> prompts me for a passphrase for my keyring. The authority that has
> given me this certificate does not allow the certificate to be stored
> unencrypted on disk.

Do you mean the private key?

> Is it not possible to convince the SSL thingy (or whatever handles
> S/MIME) to do the same, or would I have to implement this myself
> (which doesn't look too difficult, at least using OpenSSL)?

Actually smime.el support this now, the documentation is not up to
date.  When you sign a S/MIME message, Gnus asks you for a passphrase.
This passphrase is passed on to OpenSSL via a environment variable and
used to decrypt the PEM file.  If the files aren't encrypted, just
type RET as the passphrase.

(Environment variables may not be the best idea though, improvements
are welcome.  However, if you decide to work on this, please consider
modifying the S/MIME support in Gnus to use something else than
OpenSSL, so the improvements eventually helps free software.)


       reply	other threads:[~2003-06-21 20:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87d6h7bf7c.fsf@gvdnet.dk>
2003-06-21 20:53 ` Simon Josefsson [this message]
2003-06-21 22:55   ` Martin Christensen
2003-06-22  1:33     ` Ben Elliston
     [not found]       ` <87y8zu94o0.fsf@gvdnet.dk>
2003-06-22 11:40         ` Simon Josefsson
     [not found]     ` <ilusmq2jq8s.fsf@latte.josefsson.org>
2003-06-23  1:45       ` Jesper Harder

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=iluznkbjgo6.fsf@latte.josefsson.org \
    --to=jas@extundo.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.
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).