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

Use native-tls to make Windows / Mac development easier #246

Open
y6nH opened this issue Jul 4, 2019 · 2 comments
Open

Use native-tls to make Windows / Mac development easier #246

y6nH opened this issue Jul 4, 2019 · 2 comments
Labels
A: Toolchain Anything related to the toolchain/process for building and testing Rustodon C: Enhancement ✨ An issue which details an improvement to the software, not necessarily to fix a bug.

Comments

@y6nH
Copy link
Contributor

y6nH commented Jul 4, 2019

In my experience, the most troublesome dependency Rustodon has is OpenSSL. It prevented me from compiling it on an older (Xenial-based) Linux installation, and on Windows (though I got around that using WSL). If it's possible to replace the openssl crate with native-tls, that would make things easier.

@barzamin
Copy link
Member

the only place we use openssl is openssl::rsa::Rsa in src/crypto.rs. if we can find something else to generate DER keypairs, we can get rid of that (fairly heavy) dependency!

@barzamin
Copy link
Member

barzamin commented Jul 23, 2019

looking into ring again. the issue is that while it can deal with RSA nicely, it can't generate RSA keypairs (briansmith/ring#219 is the tracking issue for doing that, and this is the current PR, which is somewhat stale atm briansmith/ring#733)

@barzamin barzamin added C: Enhancement ✨ An issue which details an improvement to the software, not necessarily to fix a bug. A: Toolchain Anything related to the toolchain/process for building and testing Rustodon labels Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Toolchain Anything related to the toolchain/process for building and testing Rustodon C: Enhancement ✨ An issue which details an improvement to the software, not necessarily to fix a bug.
Projects
None yet
Development

No branches or pull requests

2 participants