Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Add support for startTLS #35

Open
sicking opened this issue Aug 5, 2013 · 5 comments
Open

Add support for startTLS #35

sicking opened this issue Aug 5, 2013 · 5 comments

Comments

@sicking
Copy link

sicking commented Aug 5, 2013

We already have support for using TLS when creating a socket. It would be great to add support for upgrading an existing socket to TLS too.

Issue #10 is dealing with more complex encryption issues, which I think is great and we should continue to discuss them there. This issue is specifically for adding support for doing upgrades using the same type of certificate and algorithm handling as we already have support for when setting up an initial connection.

Mozilla is looking into adding support for this to our implementation of TCPSocket (which isn't yet up-to-spec)
https://bugzilla.mozilla.org/show_bug.cgi?id=784816

@anotherlin
Copy link

This feature is mandatory. One reason is solely to support Microsoft Exchange SMTP server which can only use TLS through STARTTLS.

Also, it can be handy to be able to exchange non "critical" information before going to encrypted communication. Here are a few good arguments for having that kind of capability : http://www.gnutls.org/manual/gnutls.html#How-to-use-TLS-in-application-protocols

@ClaesNilsson
Copy link
Contributor

See #10 for a proposal for an updateToSecure() method.

@ytrezq
Copy link

ytrezq commented Nov 2, 2013

Many SMTP servers only support STARTLS. I think many other protocols could benefits from this.

@ClaesNilsson
Copy link
Contributor

As pointed out by Jonas at the SysApps TPAC meeting on Nov 12 2013 we must consider the issue when sending buffered data is in progress and upgrade to TLS takes place. Should the upgrade be postponed until the buffered data has been sent?

@ytrezq
Copy link

ytrezq commented Dec 14, 2013

Sorry ClaesNilsson, But I don't understand what you wrote.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants