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: Testing the gnutls support
Date: Mon, 11 Oct 2010 12:25:53 -0500	[thread overview]
Message-ID: <87zkuk7iam.fsf@lifelogs.com> (raw)
In-Reply-To: m3y6a4elxm.fsf@quimbies.gnus.org

On Mon, 11 Oct 2010 18:25:25 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> I think this should be a file of certificates instead, which users can
>> encrypt with EPA, or maybe store with the Secrets API.  But that leads
>> me back to auth-source.el since it already has this kind of logic in
>> it.  WDYT about depending on auth-source.el for GnuTLS interactions?
>> I'm divided because OTOH gnutls.el is a low-level wrapper and a
>> dependency on auth-source.el will bring in other baggage.

LMI> Perhaps auth-source should split the Secrets API stuff out into a
LMI> separate library, and then both gnutls.el and auth-source.el could both
LMI> use it?

I mean the more general logic for "here's a host name and a protocol and
some search criteria, find some authentication tokens."  That's really
90% of auth-source.el and it seems that I would reimplement most of it
if gnutls.el did its own handling of certificate storage.

I think I'll change the auth-source API, since I'll be rewriting at
least some of that library.  It may make sense to make the query
language more powerful, handle get/change/delete operations on any
search results, and make the authentication tokens more than just
strings (they'll probably embed all the information needed for a search,
acting like database table rows).  I'll add a layer for backward
compatibility, of course.

Ted




  reply	other threads:[~2010-10-11 17:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07 21:42 Testing the gnutls support Lars Magne Ingebrigtsen
2010-10-08 13:45 ` Ted Zlatanov
2010-10-09 13:18   ` Lars Magne Ingebrigtsen
2010-10-09 13:37     ` Eli Zaretskii
2010-10-09 13:56       ` Lars Magne Ingebrigtsen
2010-10-10  4:50         ` Ted Zlatanov
2010-10-10 15:26           ` Lars Magne Ingebrigtsen
2010-10-11 14:02             ` Ted Zlatanov
2010-10-11 16:25               ` Lars Magne Ingebrigtsen
2010-10-11 17:25                 ` Ted Zlatanov [this message]
2010-10-14 21:37                   ` Lars Magne Ingebrigtsen
2011-03-28 18:52           ` Ted Zlatanov
2011-03-28 19:08             ` Ted Zlatanov
2011-03-29 20:29             ` Lars Magne Ingebrigtsen
2011-04-01 14:35               ` Ted Zlatanov
2011-04-01 15:39                 ` Lars Magne Ingebrigtsen
2011-04-01 20:11                   ` Ted Zlatanov
2011-04-02 20:26                     ` 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=87zkuk7iam.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.