all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: What level to put STARTTLS certificates
Date: Wed, 15 Jun 2011 22:43:57 -0500	[thread overview]
Message-ID: <87d3ie5tky.fsf@lifelogs.com> (raw)
In-Reply-To: m3k4cmu6ru.fsf@quimbies.gnus.org

On Wed, 15 Jun 2011 23:25:09 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> Why do you need a file: prefix?  It should only work with local files
>> (we pass the file names in `gnutls-boot' to GnuTLS with
>> `gnutls_certificate_set_x509_key_file' so remote files can't work).  We
>> could support inlined certificates I guess, but it seems like it's
>> better to assume the token is a file name and extend it later.  It's by
>> far the most common case and the only one gnutls.c supports right now.

LMI> So you could say "password file:~/.foo" if you wanted to, if you (say)
LMI> had some kind of system that generated passwords per Emacs session or
LMI> something.

LMI> So adding a file: name space would make it possible to extend the format
LMI> unambiguously if something like that would be useful.  But it would
LMI> probably not be useful.  :-)

Let's default it to a file name, I think that's simplest and most
standard.  We can use a different key (tls-inline-key and
tls-inline-cert) for inlining, and even tls-key-provider and
tls-cert-provider for external programs.  No need for a new URL scheme,
especially since the Emacs file handlers already do a million things
with a file name.

Ted




  reply	other threads:[~2011-06-16  3:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 18:29 What level to put STARTTLS certificates Lars Magne Ingebrigtsen
2011-06-15 20:01 ` Ted Zlatanov
2011-06-15 21:25   ` Lars Magne Ingebrigtsen
2011-06-16  3:43     ` Ted Zlatanov [this message]
2011-06-21 19:28       ` Lars Magne 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=87d3ie5tky.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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.