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

Support libressl #18

Open
fentas opened this issue Apr 18, 2017 · 7 comments
Open

Support libressl #18

fentas opened this issue Apr 18, 2017 · 7 comments

Comments

@fentas
Copy link

fentas commented Apr 18, 2017

I try to use wsta within docker alpine. For that I installed libssl1.0 as it is required.
But if I try to use it I get

wsta: /usr/lib/libssl.so.1.0.0: no version information available (required by wsta)
wsta: /usr/lib/libcrypto.so.1.0.0: no version information available (required by wsta)
wsta: Relink `/lib/libz.so.1' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'

Do you know any solution to this? Thanks.

@eliihen
Copy link
Owner

eliihen commented Apr 18, 2017

Doesn't alpine use libressl? Tried to make that work before, but to no avail, so it only supports openssl for now

@eliihen
Copy link
Owner

eliihen commented Apr 18, 2017

The libressl not working thing is mostly because rust-openssl didnt support it. It does now, but that was only introduced at version 0.9.4, and wsta currently uses 0.7.14.

Updating dependencies should therefore make it work for libressl. A lot of things have happened in the dependency world since then, however, and it will probably require a bit of work to make it happen.

@fentas
Copy link
Author

fentas commented Apr 18, 2017

I wouldn't know how to help you.
I need a cli websocket utility which works with alpine. :/

Thanks for your effort.

@eliihen
Copy link
Owner

eliihen commented Apr 18, 2017 via email

@fentas
Copy link
Author

fentas commented Apr 19, 2017

I compared a lot and there is no real contender for wsta right now. I switched to debian:jessie for now an wait in hope that wsta will work within alpine someday. 👍

@eliihen eliihen changed the title Docker alpine Support libressl Apr 19, 2017
@fentas
Copy link
Author

fentas commented Jul 1, 2017

I had a look around again. Currently, I do something like this:

# Redirect stdout ( > ) into a named pipe ( >() )
exec > >(wsta -H "authorization: $(cat /run/secrets/authorization)" "${WSS}")

I can not do this with any other library.

@eliihen
Copy link
Owner

eliihen commented Jul 1, 2017

I'll get back to this eventually, right now I'm mostly focused on the RESTED project. I would merge a PR if anyone else would like to fix this in the mean time

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

No branches or pull requests

2 participants