all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What level to put STARTTLS certificates
@ 2011-06-15 18:29 Lars Magne Ingebrigtsen
  2011-06-15 20:01 ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-06-15 18:29 UTC (permalink / raw)
  To: emacs-devel

I've started rewriting the TLS/auth stuff in smtpmail.el.

Today smtpmail has the following variable:

;;(setq smtpmail-starttls-credentials
;;      '(("YOUR SMTP HOST" 25 "~/.my_smtp_tls.key" "~/.my_smtp_tls.cert")))

But it strikes me that this is probably on the totally wrong level.  I
mean, any TLS connection can have user keys/certs connected to them, so
it seems to me that the right level to control this is on the
network-stream.el level, and not on the
smtpmail.el/pop3.el/nntp.el/imap.el level.

So I think I'll get rid of that variable, and put this stuff into
network-stream.el instead.

This won't be backwards-compatible, but should be easy for the (few)
users to fix up themselves.

I'm thinking the right place to stash this is in ~/.authinfo, since
these are credentials.  The format will be

machine smtp.gmail.com port 587 tls-key file:~/.my_smtp_tls.key tls-cert file:~/.my_smtp_tls.cert

Any objections?

Also, since I'm away Friday to Monday, I won't be committing any of this
stuff until Tuesday, when I can be more responsive to complaints about
missing bugs in the new code.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-21 19:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-06-21 19:28       ` Lars Magne Ingebrigtsen

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.