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

fix openSSL cross-platform build issues #7

Open
yoshuawuyts opened this issue Aug 28, 2018 · 6 comments
Open

fix openSSL cross-platform build issues #7

yoshuawuyts opened this issue Aug 28, 2018 · 6 comments
Labels
bug Something isn't working

Comments

@yoshuawuyts
Copy link
Owner

Bug Report

Your Environment

Software Version(s)
crossgen 0.2.0
Rustc 1.30.0 - nightly
Operating System Linux

Expected Behavior

All builds on Travis should pass.

Current Behavior

OpenSSL doesn't build on armv7 and BSD due to
sfackler/rust-openssl#977. We either need to include a vendored version of openssl, or switch to RusTLS.

@yoshuawuyts yoshuawuyts added the bug Something isn't working label Aug 28, 2018
@yoshuawuyts
Copy link
Owner Author

@soyuka
Copy link

soyuka commented Aug 31, 2018

IMHO would be better to add vendored versions of openssl to these platforms (or at least make it a requirement). It may be given as additional documented steps required to make openssl work?

@yoshuawuyts
Copy link
Owner Author

@soyuka oh interesting - why do you think a vendored version of OpenSSL would work better than RusTLS?

I'm personally leaning slightly more towards the latter. Mostly because it seems like it would require the least amount of work to compile cross-platform. But it'd be great to hear your thoughts on this!

@soyuka
Copy link

soyuka commented Sep 4, 2018

I totally agree that, from a cross-platform point of view, rustls would be a really good thing. But, OpenSSL has many years of existence and stability whereas rustls is:

currently in development and hence unstable

I've been thinking though, if this is only a matter of encrypting secrets for deployments, it might not be that of an issue. Still, regarding maintenance, as rustls isn't really stable it may be more work in the future to keep this library up to date.

@yoshuawuyts
Copy link
Owner Author

@soyuka thanks for sharing; it's very helpful!

(...) as rustls isn't really stable it may be more work in the future to keep this library up to date.

It seems this is the main tradeoff. RusTLS is newer, so it might require more work to keep up to date. But it comes with the upside that it's easier to run cross-platform.

I think that's an alright tradeoff actually. Like you point out the scope of our use here is reasonably small, which should limit the amount of work needed per upgrade. But it also gives us an opportunity to invest in a future we want to see, rather than a project that's probably not going to improve much going forward.

@stale
Copy link

stale bot commented Dec 3, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 3, 2018
@stale stale bot closed this as completed Dec 10, 2018
@yoshuawuyts yoshuawuyts reopened this Dec 18, 2018
@stale stale bot removed the wontfix This will not be worked on label Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants