Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

Conversation

@cakoose
Copy link
Contributor

@cakoose cakoose commented Oct 28, 2014

SSLv3 has known security vulnerabilities. Dropbox is going to disable
SSLv3 soon, so switch to TLS.

SSLv3 has known security vulnerabilities. Dropbox is going to disable SSLv3 soon, so switch to TLS.
@cakoose
Copy link
Contributor Author

cakoose commented Oct 28, 2014

I don't really know anything about CodeIgniter and am not currently set up to test this change. I believe it's a relatively safe change, but I'd appreciate it if you could test it out.

@cakoose cakoose changed the title Tell CURL to use TLS instead of SSLv3. HTTPS security fixes: Use TLS instead of SSL v3; actually verify server certificate. Oct 28, 2014
Before this, the server's certificates were not verified, which is insecure. This change turns on certificate verification and uses the "root" certificate list from the official Dropbox SDK for PHP.
@cakoose
Copy link
Contributor Author

cakoose commented Nov 7, 2014

@jimdoescode: Is there a chance this will get merged soon? Dropbox is going to disable SSLv3 in a week or so.

@jimdoescode
Copy link
Owner

Sorry, for some reason I no longer get emails for pull requests from this project.

Where does the certificate come from? I'm a little hesitant to include a certificate if it's not provided by Dropbox.

@cakoose
Copy link
Contributor Author

cakoose commented Nov 7, 2014

Oh, good point.

This certificate list should match up exactly with the one in the official Dropbox SDKs. For example, here's the one in the official PHP SDK: https://github.com/dropbox/dropbox-sdk-php/blob/master/lib/Dropbox/certs/trusted-certs.crt

@jimdoescode
Copy link
Owner

Oh gotcha. I'll test this out over the weekend and merge. Thanks for the heads up!

@ryne-andal
Copy link

I've confirmed this pull request works.

jimdoescode added a commit that referenced this pull request Nov 20, 2014
HTTPS security fixes: Use TLS instead of SSL v3; actually verify server certificate.
@jimdoescode jimdoescode merged commit 3c8b1b2 into jimdoescode:master Nov 20, 2014
@jimdoescode
Copy link
Owner

Thanks brotha @ryne-andal

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants