Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependencies on openssl 0.9 #1529

Merged
merged 2 commits into from
Jan 16, 2019
Merged

Conversation

jtgeibel
Copy link
Member

After recently updating to Ubuntu 18.10, I ran into the issue that openssl 0.9 doesn't support OpenSSL 1.1.1. Fortunately openssl 0.10 is already compatible. This PR bumps our direct dependency on openssl. It also bumps hyper-tls and lettre to update their transitive dependencies on openssl.

It is possible to build against a custom (non-system) version of OpenSSL, which is what I'm doing for now. I can help with that if anyone else runs into this issue before this is merged.

@jtgeibel
Copy link
Member Author

jtgeibel commented Dec 5, 2018

I think this should be safe to merge, but it may still make sense to do the deploy-merge-deploy dance just in case there are issues in production. Therefore, I'm holding off on merging this myself until someone is ready to deploy this in case it needs to be reverted.

Having said that, I believe this PR is low risk. In the lockfile, this PR removes openssl 0.9.24, and makes the following updates: openssl 0.10.12 -> 0.10.13 and openssl-sys 0.9.36 -> 0.9.38. We were already pulling in the newer openssl crate via our tests, and now the necessary production dependencies have been converted to the newer version as well.

On Heroku, incoming HTTPS connections are terminated in their routing layer, but we internally use openssl for: git and API interactions with GitHub, transmitting outbound email, publishing to S3, and calculating the tarball hash which is recorded in the index.

@sgrif
Copy link
Contributor

sgrif commented Jan 16, 2019

@bors: r+

Going to deploy once this is merged and keep an eye on it

@bors
Copy link
Contributor

bors commented Jan 16, 2019

📌 Commit 6801c95 has been approved by sgrif

@sgrif
Copy link
Contributor

sgrif commented Jan 16, 2019

@bors r+

I'm going to stick that colon on there every time I swear

@bors
Copy link
Contributor

bors commented Jan 16, 2019

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Contributor

bors commented Jan 16, 2019

📌 Commit 6801c95 has been approved by sgrif

@bors
Copy link
Contributor

bors commented Jan 16, 2019

⌛ Testing commit 6801c95 with merge da95379...

bors added a commit that referenced this pull request Jan 16, 2019
Remove dependencies on openssl 0.9

After recently updating to Ubuntu 18.10, I ran into the issue that `openssl 0.9` doesn't support OpenSSL 1.1.1. Fortunately `openssl 0.10` is already compatible.  This PR bumps our direct dependency on `openssl`.  It also bumps `hyper-tls` and `lettre` to update their transitive dependencies on `openssl`.

It is possible to build against a custom (non-system) version of OpenSSL, which is what I'm doing for now.  I can help with that if anyone else runs into this issue before this is merged.
@sgrif
Copy link
Contributor

sgrif commented Jan 16, 2019

@bors retry

@bors
Copy link
Contributor

bors commented Jan 16, 2019

☀️ Test successful - checks-travis
Approved by: sgrif
Pushing da95379 to master...

@bors bors merged commit 6801c95 into rust-lang:master Jan 16, 2019
@jtgeibel jtgeibel deleted the update/openssl branch February 7, 2019 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants